Matus UHLAR - fantomas via Postfix-users:
> >Josef Karliak via Postfix-users:
> >>    what could cause that Postfix do not send DSN of the mail that is
> >> recieved over another server ?
> 
> On 05.05.25 08:16, Wietse Venema via Postfix-users wrote:
> >1) As specified in RFC 3461, the remote SMTP client may disable
> >delivery status notifications with:
> >
> >    RCPT TO:<u...@example.com> NOTIFY=none
> 
> I am not OP but I was curiour if we can check for this somehow.
> 
> I guess it should be visible in "postcat" output but I haven't found 
> any related docs, perhaps I have missed them?

Like many things, NOTIFY info is represented internally as a number;
the postcat command currently does not convert these to text.

    *** ENVELOPE RECORDS maildrop/4ZrjKR2r5BzHXLF ***
    ...
    named_attribute: notify_flags=1
    recipient: u...@example.com

The mapping is defined in src/global/dsn_mask.h

 /*
  * Support for RCPT TO ... NOTIFY=mumble is in the form of bit masks.
  */
#define DSN_NOTIFY_NEVER        (1<<0)  /* must not */
#define DSN_NOTIFY_SUCCESS      (1<<1)  /* must */
#define DSN_NOTIFY_FAILURE      (1<<2)  /* must */
#define DSN_NOTIFY_DELAY        (1<<3)  /* may */
#define DSN_NOTIFY_BITS         (4)

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to