• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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