procmail
[Top] [All Lists]

Re: if from mydomain.com pass on

2006-05-15 01:02:02

On Mon, 15 May 2006, Paul Matthews wrote:

thanks, that worked great!

this is my ~/procmailrc file is anyone is insterested.

LOGFILE="$HOME/procmail.log"

DROPPRIVS=yes


        (1)

:0:
* ^From:(_dot_)*(_at_)mydomain(_dot_)com
$DEFAULT


        (2)

:0fw
| /usr/bin/spamassassin


        (3)

:0
* ^X-Spam-Status: Yes
$HOME/mail/Junk

#EOF


        You can do it shorter.  Remove (1) and change (2):

:0fw
* ! ^From:(_dot_)*(_at_)mydomain(_dot_)com
| /usr/bin/spamassassin

        Better for doc` because you see in one rule the message
        wich dosen't go to spamassassin.

Bye,
  Udi

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