• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue Postfix configuration keeps reverting to smtp-amavis content filter when Plesk Email Secruity is not installed

TimH

New Pleskian
I have 2 new boxes running Centos8 and Plesk Obsidian Version 18.0.28. The box uses Postfix and we have not installed Plesk Email Security.

A couple of days ago email stopped being delivered and both boxes and was found in the queue. After trying to flush the queue and running the basic config checks on the mail server I managed to narrow the issue down to the main configuration file for Postfix /etc/postfix/main.cf

It had the following line in it.

content_filter = smtp-amavis:[127.0.0.1]:10024

However, we do not have amavis installed (/etc/init.d/amavis status).

I commented out this line. Restarted the service (service postfix restart) and then flushed the queue (/usr/sbin/postsuper -r ALL). Success the emails were delivered.

I then logged on following morning and noticed email stuck in the queue again. When opening up/etc/postfix/main.cf I had the following at the bottom of the file

#content_filter = smtp-amavis:[127.0.0.1]:10024
content_filter = smtp-amavis:[127.0.0.1]:10024

So as a temp fix I commented out the new line and repeated steps above. So questions are at this stage:

1. Why is this line even here if Plesk Email Security is not installed?
2. How do I stop the configuration file reverting to the old configuration so that I get a stable mail server?
 
Back
Top