Kaspersky AVP on SuSE mail server III
I am trying to setup Kaspersky AVP on Postfix, using SuSE rpms amavis-postfix-11-92 AVP is in /opt/AVP/AvpLinux variable in /usr/sbin/amavis my $avp = "/opt/AVP/AvpLinux"; In my /var/log/mail I get: amavis[5849]: starting. amavis perl-11 Fri Nov 9 13:42:25 GMT 2001 amavis[5849]: Virus scanner failure: /opt/AVP/AvpLinux (error code: 65) Of course my virus test e-mail walzes right through. Has anybody seen this or used Kaspersky with postfix, please point me in the right direction. --
hi, i am using kaskersky kavkeeper... is an addon for AVP Daemon. something like amavis, but comes from kaspersky, is written in C and is a client to the AVP Daemon. most likely postfix cannot start the binary ! check the rights of AvpLinux binary and try to run it manually - without postfix. might give you enough info... hope you find your problem... Walter -- Alex Levit wrote:
I am trying to setup Kaspersky AVP on Postfix, using SuSE rpms amavis-postfix-11-92 AVP is in /opt/AVP/AvpLinux
variable in /usr/sbin/amavis my $avp = "/opt/AVP/AvpLinux";
In my /var/log/mail I get: amavis[5849]: starting. amavis perl-11 Fri Nov 9 13:42:25 GMT 2001 amavis[5849]: Virus scanner failure: /opt/AVP/AvpLinux (error code: 65)
Of course my virus test e-mail walzes right through. Has anybody seen this or used Kaspersky with postfix, please point me in the right direction.
--
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
On Tue, 19 Mar 2002, Alex Levit wrote:
I am trying to setup Kaspersky AVP on Postfix, using SuSE rpms amavis-postfix-11-92
Hum, excuse my ignorance, but where did you get this RPM from?
AVP is in /opt/AVP/AvpLinux Which version exactly? Looks like a somewhat older version, as it was renamed to kavscanner.
I get: amavis[5849]: starting. amavis perl-11 Fri Nov 9 13:42:25 GMT 2001 amavis[5849]: Virus scanner failure: /opt/AVP/AvpLinux (error code: 65) Hum, never seen this error code. Please change my $log_level = 0; to my $log_level = 5;
in /usr/sbin/amavis. Then send a test mail and send me the complete log snippet directly. HTH best regards, Rainer Link (SuSE Labs) -- Rainer Link | SuSE Linux AG - The Linux Experts link@suse.de | Developer of A Mail Virus Scanner (www.amavis.org) www.suse.de | Founder OpenAntiVirus Project (www.openantivirus.org)
I got it to work. The problem was not caused by postfix or amavis, but rather by Kaspersky. Postfix starts amavis as vscan user, so it's subprocesses inherit vscan's rights. Kasperky provided a script to automaticaly update antivirus libraries with cron (avpupdater.sh). Well, when it updates the antivirus libraries it saves them with umask 377, so if you run avpupdater.sh as user other that vscan, later AvpLinux can't load those libraries. And that's what the following error meant. amavis[5959]: Virus scanner failure: /opt/AVP/AvpLinux (error code: 65) Thanks to all for your suggestions. By the way it was my first SuSE Mail III installation. I have one master domain and about 14 vurtual domains hosted on it. Everything went flawless and is running fine.
On Tue, 19 Mar 2002, Alex Levit wrote:
I am trying to setup Kaspersky AVP on Postfix, using SuSE rpms amavis-postfix-11-92
Hum, excuse my ignorance, but where did you get this RPM from?
AVP is in /opt/AVP/AvpLinux Which version exactly? Looks like a somewhat older version, as it was renamed to kavscanner.
I get: amavis[5849]: starting. amavis perl-11 Fri Nov 9 13:42:25 GMT 2001 amavis[5849]: Virus scanner failure: /opt/AVP/AvpLinux (error code: 65) Hum, never seen this error code. Please change my $log_level = 0; to my $log_level = 5;
in /usr/sbin/amavis. Then send a test mail and send me the complete log snippet directly.
HTH
best regards, Rainer Link (SuSE Labs)
-- Rainer Link | SuSE Linux AG - The Linux Experts link@suse.de | Developer of A Mail Virus Scanner (www.amavis.org) www.suse.de | Founder OpenAntiVirus Project (www.openantivirus.org)
On Wed, 20 Mar 2002, Alex Levit wrote:
Postfix starts amavis as vscan user, so it's subprocesses inherit vscan's Yes, there's no need to run amavis as root :)
rights. Kasperky provided a script to automaticaly update antivirus libraries with cron (avpupdater.sh). Well, when it updates the antivirus libraries it saves them with umask 377, so if you run avpupdater.sh as user other that vscan, later AvpLinux can't load those libraries. And that's what the following error meant.
Hum, forgot the "permission problem case" in my response :) Probably I should add some hint to README.scanners.
By the way it was my first SuSE Mail III installation. I have one master domain and about 14 vurtual domains hosted on it. Everything went flawless and is running fine. :)
best regards, Rainer Link (SuSE Labs) -- Rainer Link | SuSE Linux AG - The Linux Experts link@suse.de | Developer of A Mail Virus Scanner (www.amavis.org) www.suse.de | Founder OpenAntiVirus Project (www.openantivirus.org)
participants (3)
-
Alex Levit
-
Rainer Link
-
Walter Raboch