Bypass banned content check from localhost , and bypass incoming badh problem

Patrick Ben Koetter p at sys4.de
Thu Jan 24 13:11:38 CET 2013


* weber at zackbummfertig.de <weber at zackbummfertig.de>:
> i want my users to be able to send banned content files.
> 
> my goal is to have a map in amavis where i can set which user is
> allowed to send banned content.
> 
>  ferdinand at domain.de is allowed to send,
>  ulrike at domain.de is NOT allowed to send,
> 
> banned content.


I recommend you let local users send over submission (587) port and create a
dedicated policy for those senders:

$policy_bank{'ORIGINATING'} = {
    originating => 1,
    bypass_spam_checks_maps   => [1],
    bypass_banned_checks_maps => [1],
    final_virus_destiny => D_REJECT,
    final_bad_header_destiny => D_PASS,
    terminate_dsn_on_notify_success => 0,
};

p at rick

-- 
[*] sys4 AG
 
http://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, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich


More information about the amavis-users mailing list