On Thu, May 13, 2004 at 11:49:18AM +0545, Binaya wrote:
ok, If i say like this then ..
How I can add Delivered-To: and/or X-Envelope-To: header to every
message?
Check your MTA's documentation. For sendmail, it's the $u macro:
LOCAL_CONFIG
HX-Envelope-To: $u
This is not always guaranteed to work. $LOGNAME will tell you the name
of the local user that sendmail has chosen to deliver to, of course,
but won't tell you how sendmail arrived at that answer. Other MTAs
will most certainly vary.
Also, your Received headers may already indicate the envelope
recipient, depending on your configuration.
Scott
--
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail