Hello,
I have set up spamassassin and now i want to forward spam with procmail but it doesn't work. I have created ~/.forward and ~/.procmailrc and still doesn't forward spam into /dev/null..
My ~/.procmailrc
Code:
MAILDIR=$HOME/Maildir/
DEFAULT=$HOME/Maildir/
LOGFILE=$HOME/Maildir/.mail.log
# Catch SPAM
:0:
* ^X-Spam-Flag: YES
* ^X-Spam-Level: \*\*\*\*\*
/dev/null
And ~/.forward
Code:
"|IFS=' ' && exec /usr/bin/procmail || exit 75 #samek"
And i added a new line into /etc/postfix/main.cf:
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
But it still doesn't work .. Does anyone know what i did wrong or i didn't do?