Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
- In an attempt to send or receive an email the process fails with the following error message in the
/var/log/maillogfile:CONFIG_TEXT: postfix/smtpd[1742]: warning: connect to Milter service inet:127.0.0.1:12345: Connection refused
Cause
MagicSpam extension was removed previously, however its leftovers exist in Postfix /etc/postfix/main.cf configuration file.
Resolution
- Log into the server via SSH.
- Create a backup for the
/etc/postfix/main.cffile:
# cp -pr /etc/postfix/main.cf /etc/postfix/main.cf.back
- Using the vi text editor open the
/etc/postfix/main.cffile. - Find the line below and change it from:
CONFIG_TEXT: smtpd_milters = , inet:127.0.0.1:12768, inet:127.0.0.1:12345
To
CONFIG_TEXT: smtpd_milters = , inet:127.0.0.1:12768
- If non_smtpd_milters directive is present and contains the
inet:127.0.0.1:12345part, modify it the same way. - Save changes.
- Restart Postfix to apply the changes:
# systemctl restart postfix
Comments
Please sign in to leave a comment.