procmail
[Top] [All Lists]

Re: mutiple whitelist recipe not working

2004-03-11 12:18:25
On Thu, 11 Mar 2004 07:50:01 -0700, JM Fraser 
<jmf(_at_)cybertrex(_dot_)co(_dot_)uk>
wrote:

I have the following whitelist setup, but Procmail simply will not
reference this .rc.file and action anything within it. Any ideas as to how
I can go about this change? I have setup various .rc.files within
procmailrc all listed similary to:

INCLUDERC=$HOME/Procmail/.rc.file

Is there a limit as to how many entries you may hold within a whitelist and
why, in the log, do ceratin .rc.files get 'skipped' but the content is
obviously being read as the recipe contained therein has been acted upon?

How can I force procmail to look at every single receipe regardless of the
time it takes to cross reference and action?


:0
*^From:(_dot_)*someone(_at_)aol(_dot_)com
*^From:(_dot_)*french(_at_)free(_dot_)fr
*^From:(_dot_)*strange(_at_)aol(_dot_)com
*^From:(_dot_)*(_at_)revenue(_dot_)co(_dot_)uk
*^From:(_dot_)*(_at_)ntlworld(_dot_)com
*^From:(_dot_)*james(_at_)gandalf
{}
:OE:
Work/


You're using an AND instead of or.

:0
*^From:.*(someone(_at_)aol\(_dot_)com|french(_at_)free\(_dot_)fr|strange(_at_)ao\l(_dot_)com|revenue\.co\.uk|ntlworld\.com|*james(_at_)gandalf)

Is the correct way to do it, as you might also want to escape the dots.

Or put the email addresses in a file and then grep the from that file in
the From header condition.


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