Howto prevent stacking of signatures

sergio.belkin sergio.belkin at silicon-aid.com
Thu Nov 23 16:44:28 CET 2017


Hi,

I use amavisd-new-2.10.1-5.el7.noarch and postfix-2.10.1-6.el7.x86_64. 
I've configured amavis in order to add a disclaimer to every outgoing 
e-mail. But how can I prevent the stacking of disclaimers after a few 
replies?

Relevant lines in amavisd.conf:

~~~~

     originating => 1,
     bypass_spam_checks_maps   => [1],
     allow_disclaimers => 1
};
--
$child_timeout = 45;
$mydomain = 'muteriver.example.local';
$defang_maps_by_ccat{+CC_CATCHALL} = [ 'disclaimer' ];
@altermime_args_disclaimer = qw(--disclaimer=_OPTION_.txt 
--disclaimer-html=_OPTION_.html);
@disclaimer_options_bysender_maps = ( {
'.' => '/var/lib/nethserver/mail-disclaimers/_default_',
'example.local' => '/var/lib/nethserver/mail-disclaimers/mail.example.com',
'example.com' => 
'/var/lib/nethserver/mail-disclaimers/mail.example.com'}, );
@mynetworks_maps = ( read_cidr('/etc/postfix/mynetworks.cidr') );
~~~~

Is there a way to fix that?

Thanks in advance!

--

Disclaimer


--
Silicon Aid – Provisión y Mantenimiento de Infraestructura Tecnológica
Maipú 474 1° Of. “E” C.A.B.A. C1006ACD – 5218-6505 – www.silicon-aid.com – info at silicon-aid.com



More information about the amavis-users mailing list