Default policy bank

Chris chris2014 at postbox.xyz
Sat Nov 5 13:44:42 CET 2016


Hello,

I've defined one policy bank and two socket ports. Is every unnamed
interface port without policy bank using the default settings defined
outside of policy banks? That is in the following example 10023 is using
QUEUE1 settings and 10025 the settings defined outside of policy bank
QUEUE1?

- Chris



$inet_socket_port = [10023, 10025];
$interface_policy{'10023'} = 'QUEUE1';

...

$policy_bank{'QUEUE1'} = {
   notify_method                => 'smtp:[127.0.0.1]:10024',
   forward_method               => 'smtp:[127.0.0.1]:10024',
   bypass_virus_checks_maps     => [1],
   bypass_spam_checks_maps      => [1],
   final_virus_destiny          => D_REJECT,
   final_banned_destiny         => D_REJECT,
   final_spam_destiny           => D_PASS,
   warn_offsite                 => 0,
   mynetworks                   => [[qw(127.0.0.0/8 192.168.0.0/16)]],
};



More information about the amavis-users mailing list