Re: access table enhanced smtp status code optional text

2017-10-10 Thread Wietse Venema
Mp Mptri:
> Hi,
> 
> I use access tables with reject codes and optional status codes and going
> to add some optional text. My question is regarding this text:
> Are there any restrictions to this in length or special characters? Is
> there any rfc document on this?

The following come to mind, referenced in the smtpd(8) manpage:

SMTPD(8)  SMTPD(8)

NAME
   smtpd - Postfix SMTP server
...
STANDARDS
...
   RFC 2034 (SMTP enhanced status codes)
   RFC 5321 (SMTP protocol)
...



access table enhanced smtp status code optional text

2017-10-09 Thread Mp Mptri
Hi,

I use access tables with reject codes and optional status codes and going
to add some optional text. My question is regarding this text:
Are there any restrictions to this in length or special characters? Is
there any rfc document on this?

kind regards,
Michael


smtp status code

2011-12-15 Thread Amira Othman
Hi all

I need to understand why bounced emails sometimes don't have smtp status
code and is it available to add code for them? And also about emails that
are delivered to mailbox they don't have status code ?

 

Regards

 



Re: smtp status code

2011-12-15 Thread Wietse Venema
Amira Othman:
 Hi all
 
 I need to understand why bounced emails sometimes don't have smtp status
 code and is it available to add code for them? And also about emails that
 are delivered to mailbox they don't have status code ?

According to RFC 3461:

   (i)  For DSNs resulting from attempts to relay a message to one or
more recipients via SMTP, the Diagnostic-Code MUST be supplied
for each of those recipients.  The diagnostic-type subfield will
be smtp.  See section 9.2 of this document for a description
of the smtp diagnostic-code.

When there is an SMTP session, Postfix will report the SMTP status
code that it received from the remote SMTP server.

When there is no SMTP session, Postfix will not report a fake SMTP
status code.  Instead, it will return a different diagnostic-type.

Wietse