Paul

Paul J Stevens wrote:
Edit /etc/postfix/main.cf

add -a "$RECIPIENT" to the mailbox_command option:

mailbox_command = -a "$EXTENSION" -a "$RECIPIENT"

Edit /etc/procmailrc

----------------------
VERBOSE=true
LOGFILE=/tmp/procmail.log

:0:
* ^Subject: **SPAM**
| /usr/sbin/dbmail-smtp -m Spam -d "$2"

I have added a /etc/procmailrc file with the above. I am using a "Junk" folder so ive made it -m Junk and the subject line for us is [spam], so it says Subject: [spam]

In postfix, it had "mailbox_command =" (blank in other words), so iva changed that it to

mailbox_command = -a "$EXTENSION" -a "$RECIPIENT"

(excatly that?)

But dosnt seem to produce a result. (Using amavis-new to tag spam). Any sugestions here?

Thanks

Reply via email to