Symptoms
-
Plesk server was restarted recently.
-
Plesk Email Security is installed on the server.
-
Unable to send or to receive emails when Plesk Email security is installed, the following errors are shown in log file
/var/log/maillog
:postfix/error[14288]: 6BE2A43D60: to=[email protected], relay=none, delay=139128, delays=139128/0.05/0/0.02, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Cause
Amavis autostart is disabled as seen here:
# systemctl status amavisd
amavisd.service – Amavis mail content checker
Loaded: loaded (/usr/lib/systemd/system/amavisd.service; disabled; vendor preset: disabled)
Resolution
-
Log in to Plesk server via SSH
-
Enable Amavis service:
# systemctl enable amavisd
-
Start Amavis service:
# systemctl start amavisd
-
Resend the deferred emails in Postfix:
Note: The mail queue can take some minutes to be processed. Monitor the mail queue by Logging into Plesk GUI > Tools & Settings > Mail Server Settings > Mail Queue or over the command
mailq