Is it not kosher to have both a /etc/procmailrc and a $USER/.procmailrc

here is my /etc/procmailrc

VERBOSE=yes
MAILDIR=$HOME/Maildir/
DEFAULT=$HOME/Maildir/
LOGFILE=/var/log/procmaillog
DROPPRIVS=yes
COMSAT=no


:0fw
* < 256000
| spamc
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
# :0:
# * ^X-Spam-Flag: Yes
# /dev/null


# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".

:0:
* ^X-Spam-Flag: Yes
$HOME/probably-spam/


#:0: #* ^Subject:.*[SPAM] #$HOME/probably-spam/

:0:
* ^X-Spam-Level: \*\*\*\*\*
$HOME/probably-spam/

####
here is a users .procmailrc


:0: * ^X-Spam-Flag: Yes probably-spam/

#######

The problem is that some mail marked [SPAM] is ending up in $USER/Maildir/new It is clearly marked as spam but yet it goes to the wrong place.

I was getting non spam messages in the probably-spam bucket when using the Subject one but looking now it looks like it might need a X- in front of that one. oops or is that correct.

I read so many different docs and no two seem the same or authoratative. I have seen the :0 with and without the trailing : and that seems not to matter.

Should i just have a .procmail in the users home or only the one in /etc?

Thanks ahead.






-- Michael H. Collins Admiral, Penguinista Navy

http://linuxlink.com

/"\        ASCII Ribbon Campaign
\ /     No HTML/RTF in email
x       No Word docs in email
/ \     Respect for open standards

The eye that looks ahead to the safe course is closed forever.
   -Paul Muad'Dib (Dune)





Reply via email to