OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
AW: DSN "action: relayed" for local_transport using pipe

From: Bergter Esther (Esther.Bergtervipcomag.de)
Date: Fri Aug 24 2007 - 09:20:09 CDT


> Bergter Esther:
> > Hello,
> > We are using postfix as MTA and pipe incoming mails into
> > our own command that puts the mail in the user store residing
> > on the same host.
> >
> > Everything is OK except DSN "success" :
> > Postfix returns the Delivery Report, but it has "Action:
> > relayed", we would like it to be "Action: delivered"
> >
>
> I am open for suggestions for the MTA to figure out whether pipe(8)
> delivers remotely or locally, but I don't think it can do this
> all by itself.

What about making pipe(8) interprete Enhanced Status Information in case of exit 0?
2.1.5 indicates final delivery (independent of local / remote question).
I don't think this could be misleading.

Esther
---------
RFC 3463, 3.2 Address Status
      X.1.5 Destination address valid
         This mailbox address as specified was valid. This status code
         should be used for positive delivery reports.

> One possibility is to introduce yet another flag, say "X", to
> indicate final delivery.
>
> I would not recommend over-loading the meaning of "flags=D". This
> flag requests that pipe(8) prepends a Delivered-To: header. But
> this header is for loop detection. It does not imply final delivery.
>
> Wietse
>