procmail
[Top] [All Lists]

Re: Am I the only one who...

2003-02-21 16:04:07
On Fri, 21 Feb 2003 the voices made Professional Software Engineering write:

PSE> At 21:56 2003-02-21 +0100, Tony L. Svanstrom wrote:
PSE>
PSE> >  The information might be there, but it doesn't hurt making it visible:
PSE> >
PSE> >:0fh
PSE> >* ^^From \/(_dot_)*(_at_)[^ ]+
PSE> >         | formail -i "X-Envelope-From: $MATCH"
PSE>
PSE> Bugger fer you if your MTA doesn't already do this.  I have sendmail set up
PSE> to insert X-Envelope-To: as well, which is far more meaningful, though both
PSE> headers are handy since they're _address_only_ (no parsing necessary).

 The way my e-mails move around before I get them there's no point in me
having the local server setting a X-Envelope-To: header; instead I let procmail
do a lil bit of guessing by the look of the headers, and every now and then it
even works. =D


-- 
      /\___/\                                              /\___/\
      \_@ @_/                                              \_@ @_/
 +--oOO-(_)-OOo------------------------------------------oOO-(_)-OOo--+
 | Per scientiam ad libertatem! // Through knowledge towards freedom! |
 +---ôôô---ôôô--------------------------------------------ôôô---ôôô---+
     \O/   \O/      (c)1998-2003  tony(_at_)svanstrom(_dot_)com      \O/   \O/


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


<Prev in Thread] Current Thread [Next in Thread>