Hi,

I am having a bit of issues with .procmailrc and I dont know whats
happening. Firstly my postfix main.cf contains this;

mailbox_command = procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/
MAILDIR=$HOME/Maildir

Not sure if this has any bearing on problem. Anyways my mail gets
delivered to my Maildir.

So I created a .procmailrc and it contains;

MAILDIR=$HOME/Maildir
SPAM=$MAILDIR/.Junkmail/
DEFAULT=$HOME/Maildir/

LOGFILE=$MAILDIR/.procmail.log
# VERBOSE=on for more debugging info than you can poke a stick at
VERBOSE=on

# if it's already got spam: yes header from my upstream, then bye bye
:0:
* ^X-Spam-Status: Yes
$SPAM

:0:
* ^X-Spam-Flag: YES
$SPAM

:0
$DEFAULT

-- snip end --

However it appears the rules above relating to the X-Spam-* are not
working. Infact these rules seem to be doing nothing at all and mail
still ends up in the default Maildir folder. It appears the Spam is
not going into my .Junkmail Maildir folder.

Anyone able to shed some light?

Also, the verbose trigger for the .procmail.log doesnt appear to work either.

Any help would be appreciated. I will check email tomorrow for
replies, I have had enough and think I will get some sleep.

Bye
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to