Adding Envelope Headers?

Kai Schaetzl maillists at CONACTIVE.COM
Sun Feb 15 19:18:13 GMT 2004

Travis Taylor wrote on         Sun, 15 Feb 2004 10:39:02 -0600:

> In sendmail add the following line in the "Format of headers" section
> of your
>  HX-Envelope-From: $g
>  HX-Envelope-To: $u

Wow, fairly easy. Thanks! I wonder why they don't tell you this in the 
sendmail groups on Usenet. All solutions I could find involved procmail.
Only caveat here is that it won't add any to if there is more than one 

I prefer to have this generated from the mc files, so I can easily 
recreate after a small config change and carry over to other machines. If 
everyone else wants to know: this is in proto.m4, you can just add it 
below the other header lines in the "Format of headers" section and it 
will show up in the then.

> Myself, I prefer to have the envelope addresses in Received line.

Doesn't add extra lines, I see, but makes it harder to build mail filing 



Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services:
IE-Center: &

More information about the MailScanner mailing list