To integrate Kaspersky Security 8 for Linux Mail Server with Amavis manually:
$daemon_group
parameter of /etc/amavisd.conf) with the following command:gpasswd -a kluser amavis
$daemon_user
setting of the amavisd.conf configuration file (hereinafter /etc/amavis.conf)) to the klusers user group using the following command:gpasswd -a amavis klusers
@spam_scanners
section:@spam_scanners = (
#['SpamdClient', 'Amavis::SpamControl::SpamdClient' ],
package Amavis::SpamControl::SpamdClient ...
my($spamd_handle) = Amavis::IO::RW->new(
[ '/var/run/klms/rds_asp' ], Eol => "\015\012", Timeout => 30);
@av_scanners
and @spam_scanners
sections of the opened file:@av_scanners = (
['Kaspersky Security 8.0 for Linux Mail Server',
\&ask_daemon, ["nCONTSCAN {}\n", "/var/run/klms/rds_av"],
qr/\bOK$/m, qr/\bFOUND$/m,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ], ); ...
@spam_scanners = (
['SpamdClient', 'Amavis::SpamControl::SpamdClient' ], );
$sa_mail_body_size_limit = 1500000;
/etc/init.d/amavisd restart
During integration with the Amavis interface, you can specify the settings of Kaspersky Security 8 for Linux Mail Server only using the command line. Settings specified using the web interface of Kaspersky Security 8 for Linux Mail Server (such as the response timeout when attempting to connect to KSN) will not apply.
Page top