procmail
[Top] [All Lists]

Re: would this be a valid recipe?

2002-10-11 15:52:58
On Fri, Oct 11, 2002 at 02:06:23PM -0700 or thereabouts, Professional Software 
Engineering wrote:
At 15:37 2002-10-11 -0500, Gary wrote:
 
Hit my disclaimer and follow the link to info about the "sandbox" testing 
method.  With it, you can do a LOT of what-if scenarios easily.

Thanks Sean, I will do so... Has been a long time since I played in a
sandbox <g>..  good idea.  
 
junk="dumb(_at_)one\(_dot_)uk|dumb2(_at_)idiot\(_dot_)com|bad(_at_)spammer\(_dot_)com"

:0
^From:.*($junk)
/dev/null

THIS definatley won't work as written: the condition line isn't prefixed 
with an '*'  Also, you want a '$' flag so that the variable is properly 
expanded for the regexp, thus:

:0
* $ ^From:.*($junk)
/dev/null

Try it in a sandbox.

Will do.. thanks again.


-- 
Best regards,
Gary   

How do you tell when you run out of invisible ink?.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>