> Has anyone integrated Kaspersky Security with amavis? > > This is the url I followed. > > https://support.kaspersky.com/KLMS/8.2/en-US/62460.htm > > I did it. But I get below erros. > > 2023 May 22 08:04:56 server amavis[1769]:(01769-04) (!)connect to > /var/run/klms/rds_av failed, attempt #1: Can't connect to a UNIX socket > /var/run/klms/rds_av: Permission denied > 2023 May 22 08:04:57 server amavis[1769]:(01769-04) (!)Kaspersky Security > 8.0 for Linux Mail Server: All attempts (1) failed connecting to > /var/run/klms/rds_av, retrying (2) > > 2023 May 22 08:11:57 server amavis[1768]:(01768-05) (!)Kaspersky Security > 8.0 for Linux Mail Server av-scanner FAILED: run_av error: Too many retries to > talk to /var/run/klms/rds_av (All attempts (1) failed connecting to > /var/run/klms/rds_av) at (eval 132) line 659.\n > > Here is the permission. > > ls -al /var/run/klms/rds_av > srw-rw---- 1 kluser klusers 0 May 17 01:35 /var/run/klms/rds_av
I used to run Kaspersky when it was available under FreeBSD. Because their daemons runs exclusively under the user kluser, I resolved to have my full amavis+clamav run under that same user. You can try to manually send a file to Kaspersky daemon, from the user amavis and from the user kluser and confirm which one works. It worked well until it did not, I never managed to run it with the Linux compatibility on FreeBSD so I dropped Kaspersky (plus their customer service in Thailand was a headache). But I still have amavis and clamav running under user kluser... Hope that helps, > Anyway, Has anyone integrated any other commercial antivirus guard such as > sophos or whatever with amavis? No, because the FreeBSD thing :) If I am going to pay for a piece of software, it can, at least, run on what OS I want and not the contrary. Olivier --