I use amavis-new to do this:
amavisd.conf
$log_level = 1; # set the log level to one
$sa_tag_level_deflt = -999; # i want to see the headers so change
to -99
$sa_tag2_level_deflt = 5.0; # start with 5
$sa_kill_level_deflt = 9; # change to 9
$sa_dsn_cutoff_level = 9; # change to 9
$sa_quarantine_cutoff_level = 50; # remove the starting # and
change to 50
$notify_method = 'smtp:[127.0.0.1]:10025'; # uncomment the line
$forward_method = 'smtp:[127.0.0.1]:10025'; # uncomment the line
$final_banned_destiny = D_BOUNCE; # change to D_DISCARD
On 01/21/2016 07:25 AM, 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.
thanks
Robert Chalmers
rob...@chalmers.com <mailto:rob...@chalmers.com>.au Quantum Radio:
http://tinyurl.com/lwwddov
Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan
10.11. 2TB Storage made up of -
Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024
HN-M101MBB. Lower Bay