procmail
[Top] [All Lists]

Re: parsing email addresses

2002-11-22 18:05:58
* Nancy McGough <nm-this-address-is-valid(_at_)no(_dot_)sp(_dot_)am> 
[2002-11-22 10:24]:

 Alternatives to the ^TO_ Expression
 <http://www.ii.com/internet/robots/procmail/qs/#alt2TO>

Thanks for the tips.  Great website.  So far, this is what I have for
my procmail recipe:

  
BEENTHERE_ML=(latex2rtf[a-z0-9(_dot_)]*(_at_)[a-z0-9(_dot_)]*sourceforge\(_dot_)net|procmail@(lists|informatik)\.RWTH-Aachen\.DE|gnupg-users(_at_)gnupg(_dot_)org)

  # BeenThere mailing lists
  #
  :0 :
  *$ ^X-BeenThere:.*$BEENTHERE_ML
  * ^X-BeenThere:.*\/[a-z0-9.]+@
  * MATCH ?? ()\/[^(_at_)]+
  mailing_lists/$MATCH

I still have to work on making the code cleaner.  The BEENTHERE_ML
variable is long.  Is there a way to use linebreaks while keeping the
variable in tact?

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