procmail
[Top] [All Lists]

Re: possibly useful for vonage users

2006-04-20 01:08:00
On Thu, 20 Apr 2006 09:18:53 +0200 "Ruud H.G. van Tol" 
<rvtol(_at_)isolution(_dot_)nl> wrote:

Gerald V. Livingston II schreef:

 :0
 * ! ^From:(_dot_)*1234567890(_at_)vm\(_dot_)vonage\(_dot_)com
 * ! ^From:(_dot_)*customerservice(_at_)vonage\(_dot_)com
 * ! ^From:(_dot_)*questions(_at_)vonage\(_dot_)com
 * ! ^From:(_dot_)*billing(_at_)vonage\(_dot_)com
 { }
 :0 E:
 .vonage/

Alternative:

  :0
  * ^From:.*(\
    1234567890|\
    customerservice|\
    questions|\
    billing)@vonage\.com
  .vonage/

I prefer to use the "Error" method for creatring an "OR" construct for
addresses. Makes it easier to see the individual addresses I'm dumping to a
folder and easier to add another if I need to snag a different domain to
drop in there with the others.

Oh, and note the first address I grab is from "@vm.vonage.com". 
The last line of your regex example would have to be modified to:

billing)@*\.vonage\.com  

(or would that be just "@*vonage\.com" to also catch plain 
@vonage.com -- regex is my weakness).

____________________________________________________________
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>