procmail
[Top] [All Lists]

Re: Problems filtering mail addresses

2010-10-13 08:52:04
On 13.10.10,14:52, Ruud H.G. van Tol wrote:
On 2010-10-13 12:53, Jostein Berntsen wrote:

I am subscribing to the Van Morrison mailing 
lists(van-l(_at_)yahoogroups(_dot_)com
and van-m(_at_)yahoogroups(_dot_)com) but it seems like several of the 
emails to
this list is not filtered by my procmail setup. Here is my procmail
rules:


":0
* ^TO_van-m(_at_)yahoogroups\(_dot_)com
* ^TO_Van-M(_at_)yahoogroups\(_dot_)com
* ^TO_Van-M(_at_)nic\(_dot_)surfnet\(_dot_)nl
* ^TO_van-l(_at_)yahoogroups\(_dot_)com
* ^TO_van-info(_at_)yahoogroups\(_dot_)com
* ^TO_van-l(_at_)nic\(_dot_)surfnet\(_dot_)nl
* ^TO_van-info(_at_)nic\(_dot_)surfnet\(_dot_)nl
* ^TO_van.*
* ^TO_VAN.*
* ^Subject: Van-.*
innboks/VAN/"

That looks really weird. It is in double quotes, and ands a few
non-cooperating conditions.

ITYM:

  :0
  * 9876543210^0 ^TO()van
  * 9876543210^0 ^Subject: Van-
  innboks/VAN/


I just put the filter rules in double quotes to separate them from the 
other text.  The mail address to these lists is written in several 
different ways by the senders(including the nic.surfnet.nil, and 
van-info), so I have tried with different conditions to check what 
works.  Thanks for your suggestions, I will try these later and report 
back. 


Jostein





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