procmail
[Top] [All Lists]

Re: if from mydomain.com pass on

2006-05-22 08:45:03
Am 2006-05-15 09:56:49, schrieb Paul Matthews:
hi there,

i'm looking for a rule in procmail that says, 'If from 
*(_at_)mydomain(_dot_)com then
don't pass it onto spamassassin, just send it to the users inbox'.

this is my current /home/username/.procmailrc file

LOGFILE=$HOME/procmail.log

DROPPRIVS=yes
:0fw
| /usr/bin/spamassassin

To many resources free?
Better is the use of "spamc" which is made for this.

:0fw
* ! ^From:(_dot_)*(_at_)mydomain(_dot_)com
|spamc


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

can someone tell me how-to set procmail not scan local e-mails with
spamassassin?

Greetings
    Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)


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