OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: OT: Return-Receipt: / DSN Header?

From: Neezam Haniff (nhaniffca.mci.com)
Date: Tue Dec 02 2003 - 10:32:45 CST


On Tue, 2 Dec 2003, Ralf Hildebrandt wrote:

> I know Postfix doesn't support Return-Receipt: / DSN.
> But how can I make a DSNaware MTA return me such ach DSN?

        Make sure you speak EHLO to the MTA in question.

        In the RCPT TO, you tell the server under what conditions you want
a DSN sent to you.

RCPT TO: <supermanjusticeleague.org> NOTIFY=SUCCESS

        This sends a receipt upon successful delivery.

RCPT TO: <batmanjusticeleague.org> NOTIFY=FAILURE

        This sends a receipt upon unsuccessful delivery.

RCPT TO: <wonderwomanjusticeleague.org> NOTIFY=NEVER

        Don't send a receipt.

        You can also specify multiples, i.e:

RCPT TO: <greenlanternjusticeleague.org> NOTIFY=SUCCESS,FAILURE

        There are also options you can specify for MAIL FROM, they are RET
and ENVID. RET controls what contents the MTA will return to the sender.
ENVID is the message identifier for message transmission.

        There is one other option for RCPT which is ORCPT which I guess is
retain the original recipient address.

        Fun stuff. :)

Neezam.