Per-user quarantine levels?

Patrick Ben Koetter p at sys4.de
Sun Jan 17 08:33:50 CET 2016


* Vicki Brown <vlb at cfcl.com>:
> We have a couple of users whose mail is not delivered on our system but sent on to another address. (Ugh).
> I would like to set these users to have a much lower cut-off for Spam; I hate forwarding spam off site.
> 
> Is this possible?

Quoted from http://sourceforge.net/p/amavis/mailman/message/17002872/:

In amavisd.conf:
@spam_tag2_level_maps =
        ({
        '.example.com' => 8.0,
        '.example2.com' => 6.5,
        '.' => 7.0,
        });

or read from an external file:
@spam_tag2_level_maps = (read_hash("/var/amavis/tag2level"), 7.0);

contents of /var/amavis/tag2level:
.example.com 8.0
.example2.com 6.5


p at rick

-- 
[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
 


More information about the amavis-users mailing list