procmail
[Top] [All Lists]

Re: Recipy syntax help

2004-03-25 09:47:47
Hans du Plooy wrote:

OIC, thanks. But that will drop ALL mail from outside, while I only need that for specific users. If I drop that inbetween the brackets in my recipy, will that work? i.e.
:0h
*^To: john(_at_)newingtoncs(_dot_)co(_dot_)za
{
        !^From(_dot_)*(_at_)newingtoncs(_dot_)co(_dot_)za
        /dev/null
}
You can actually combine the two rules and bounce the messages:

:0
* ^To: john(_at_)newingtoncs(_dot_)co(_dot_)za
* !^From(_dot_)*(_at_)newingtoncs(_dot_)co(_dot_)za
{
       LASTFOLDER=/dev/null
       EXITCODE=67   # 100 for qmail
       HOST
}

--
Klaus Johannes Rusch
KlausRusch(_at_)atmedia(_dot_)net
http://www.atmedia.net/KlausRusch/



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