procmail
[Top] [All Lists]

Re. Procmail filter wrong name for email address

2010-09-15 06:06:08
Hello
Can anyone help with a procmail filter to identify when the 'To:' field has the 
wrong name next to the email address
e.g. To: John Smith <mary(_at_)example(_dot_)com>

To do this I suppose I need to establish:
1.) The email is to mary(_at_)example(_dot_)com,
2.) The email is not To or CC additional people (i.e. to one person only),
3.) Any other name except 'mary' appears next to the email address.


Kind regards
Andrew 
____________________________________________________________
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>