procmail
[Top] [All Lists]

Re: Spamassassin in .procmailrc

2009-07-01 12:54:12
Salut Fabrice,

Am 2009-07-01 17:33:16, schrieb Fabrice DELENTE:
<snip>
:0fw: spamassassin.lock
| spamassassin

You do not need locking for spamassassin and  I  would  never  recommend
using spamassassin directly.  This ist what spamd/spamc  are  for.  Make
sure, spamd is running as daemon.

:0
* ^X-Spam-Flag:.*YES
/home/fab/Mail/Trashcan

Here you use a mailbox and not locking...  This could be very dangerous.

Also why  are  you  using  the  full  path?  At  the  beginning  of  the
~/.procmailrc you have normaly MAILDIR and DEFAULT defined...

:0
* !Subject:.*[LCS]
! <mail address at hotmail.com>

The Subject line is wrong.


The whole thing should be look like:

----8<---------------------------------
MAILDIR=${HOME}/Mail/
DEFAULT=${MAILDIR}Inbox

:0fw
| spamc

:0:
* ^X-Spam-Flag:.*YES
Trashcan

:0
* ! ^Subject:.*[LCS]
! foo(_at_)hotmail(_dot_)com
----8<---------------------------------

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   c/o Shared Office KabelBW  ICQ #328449886
+49/177/9351947    Blumenstasse 2             MSN LinuxMichi
+33/6/61925193     77694 Kehl/Germany         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>