On Mon, Sep 07, 2015 at 09:18:28AM +1000, Stuart Longland wrote: > Silly question, I did a quick search for this but didn't find an > answer. How can one tell smtpd or cleanup to add the email address > given in the RCPT TO for a given email?
This done automatically in the "for <recipient>" clause of the
"Received" trace header, for messages that have just one recipient.
For multi-recipient mail, this would break Bcc and is not done.
See also pipe(8) and local(8) documentation.
--
Viktor.
