[Gllug] Sendmail rewriting
Jason Clifford
jason at ukpost.com
Sat Jun 22 11:14:35 UTC 2002
On Fri, 21 Jun 2002 tet at accucard.com wrote:
> Before I try and wade through the 1000 or so pages of the bat book,
> I'm hoping someone here can answer... How can I rewrite messages in
> sendmail so that envelope information is added to the header? I'd
> like to add something like:
>
> X-Envelope-To: real_recipient at my.domain
> X-Envelope-From: real_spammer at spam.domain
You can do this by editing the Header format in sendmail.cf.
The envelope recipient is $u and, IIRC, the sender is $g
Do note that this is not perfect however as it does not handle multiple
recipient messages properly.
Jason Clifford
--
UKPOST.COM A great email address is waiting just for you!
http://www.ukpost.com/
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list