On 18.06.14 13:59, 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?
you need procmail or other delivery agent to do that.
It will need a configuration that tells it how to know spam from ham and
where to deliver them.
(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.)
no, amavis nor spamass-milter can not do anything with that.
they can only tag or reject mail detected as spam.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton