Am 21.01.2016 um 13:34 schrieb Antony Stone:
On Thursday 21 January 2016 at 13:31:29, Reindl Harald wrote:On 01/21/2016 01:25 PM, Robert Chalmers wrote:I’m looking for a way to just dump mail that has the header modified with the ********* SPAM ********* assignment. I mean, not have the Client mail reader do it, just have either spamd, or postfix/dovecot dump it. I’m sure I’ve seen something about doing this, but can’t find it now…. lost in al the configurations.http://linux.die.net/man/1/spamass-milterDoes that work with postfix? (Surely not with dovecot...)
surely, http://www.postfix.org/MILTER_README.htmljust make sure you have proper "postscreen_dnsbl_sites" config and "postscreen_dnsbl_action = enforce" in front so that your contentfilter only needs to deal with the remaining 10% of delivery attempts
smtpd_milters = unix:/run/spamass-milter/spamass-milter.socksa-milt 869 0.0 2.2 311972 91044 ? Ss Jan20 0:20 /usr/bin/perl -T -w /usr/bin/spamd --max-children=20 --min-children=5 --min-spare=5 --max-spare=10 --max-conn-per-child=200 --socketpath=/run/spamassassin/spamassassin.sock --socketmode=0666 sa-milt 870 0.0 0.2 453832 10160 ? SNsl Jan20 0:14 /usr/sbin/spamass-milter -p /run/spamass-milter/spamass-milter.sock -g sa-milt -r 8.0 -- -s 10485760 --socket=/run/spamassassin/spamassassin.sock
signature.asc
Description: OpenPGP digital signature
