procmail
[Top] [All Lists]

Re: Recipe help! Search list, -if not- found then deliver *here*.

2001-05-09 14:07:33
* On [010509 21:41] Dustin Ankeny <dustin(_at_)heritageind(_dot_)com> wrote:
[...]
This is what I came up with and it does not work...

:0:
*!
dustin(_at_)mydomain(_dot_)com|andy(_at_)mydomain(_dot_)com|bob(_at_)mydomain(_dot_)com|joebob(_at_)mydomain(_dot_)com|b
objoe(_at_)myname(_dot_)com
/var/mail/ISPSPAM

You need brackets around the whole regexp:
:0:
* ! ^.*(address1|address2|addressn)
/var/mail/ISPSPAM
ought to work
HTH
lawrence

-- 
Lawrence Mitchell | http://members.tripod.co.uk/EVSvienna/
wence(_at_)gmx(_dot_)li      | "In a word -- im-possible!"
"That's two words," said Dibbler.
        -- (Terry Pratchett, Moving Pictures)
_______________________________________________
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>