procmail
[Top] [All Lists]

Re: Best way of finding/formatting... sender & sender address?

2006-10-03 14:05:20
On 10/3/06, Steve A <procmail(_at_)rowyerboat(_dot_)com> wrote:
... and any such variation as the sender chooses.  I am finding it
difficult to construct a regex to match a sender string and an address
string (or part of).

Any suggestions?

Start with:

http://www.well.com/user/barts/email/rfc822rc.txt

That just provides the regular expressions; it's up to you to decide
how to use them in conditions and where to put the
backslash-forwardslash marker to get what you want in $MATCH.

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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