• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Clamav working in Plesk (without extension)?

Carlos S

New Pleskian
Hi,

Some years ago we configured Clamav to scan all email in a Ubuntu 16.04 following the instructions of the next article and worked fine during long time:

Migrate Plesk to ClamAV - My Blog

But then, something changed in Plesk, Ubuntu or Postfix and it ceased working, when some lines where automatically added to /etc/postfix/main.cf . First wrongly because they were written without changing line so the text where "glued" to the last character written in the file:

recipient_canonical_classes = envelope_recipient,header_recipient
recipient_canonical_maps = tcp:127.0.0.1:12346
authorized_flush_users =
authorized_mailq_users =

But after separate the lines, clamav stopped working. And altough clamav daemonand and clamav-milter were working we get this error in mail.log:

milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later

The only way to get postfix working (but without clamav working) was erasing al the other ports than 12768 in smtp_milters in /etc/postfix/main.cf so...

smtpd_milters = inet:127.0.0.1:12768 you get mail without clamav

We use Plesk 17.8.11 in Ubuntu 16.04

Any way to configure Clamav correctly in Plesk Ubuntu in 2019/2020?
Any explanation why it ceased working?
Any explanation why Plesk ceased to be compatible with Clamav?
 
Back
Top