On 06/18/2014 02:59 PM, Timothy Murphy wrote:
I'm running Postfix with dovecot, spamass-milter and SpamAssassin
on a CentOS-6.5 server.
At the moment I am sending spam to my spam folder ~/Maildir/.Spam/
with procmail, by appending
mailbox_command = /usr/bin/procmail -f- -a "$USER"
to /etc/postfix/main.cf .
This seems a little convoluted to me;
I'd prefer to send spam straight to the Spam folder
as soon as it is detected by SA.
Is this possible?
(I'm running postfix with amavis, dovecot and SA on another server,
and this doesn't seem to make any use of procmail.
However, I'm not keen on amavis and would prefer to avoid it if possible.)
Dovecot's Sieve is your friend.
(replaces procmail)
There's lots of howtos in the net.