How to Fix Milter Crash Issue in Plesk

Milter is an add-on to an SMTP server like postfix. It enables a SMTP server to use external tools like SpamAssasin, Drweb, Kaspersky etc to scan emails.


Usually milter service is managed via the startup script /etc/init.d/pc-remote


Milter is running on port 12768 and bound to “*”

-bash-4.1# netstat -alpn | grep 12768
tcp        0      0   *                   LISTEN      7216/psa-pc-remote

If milter service fails postfix wont be able to connect to port 12768 and it will stop email processing.


If milter service mail fails, you will see the following error in log & mail delivery.

postfix/smtpd[22697]: warning: connect to Milter service inet:localhost:12768: Connection refused
postfix/smtpd[22697]: NOQUEUE: milter-reject: CONNECT from unknown[]: 451 4.7.1 Service unavailable - try again later; proto=SMTP


Milter can fail due to different reasons due to bugs in milter, processing of malformatted mail, large number of open files etc.


If you face issues due to frequent milter crash, the following solution may help.


Run following commands



mkdir /root/scripts;

cd /root/scripts;


chmod -v 755 /root/scripts/



Add following cron.



* * * * * /root/scripts/




1. Make sure that /etc/init.d/pc-remote service exists & it manages milter

2. Make sure that nc(netcat) is installed & /usr/bin/nc is availale. Else, please install it using "yum install nc"
3. This script is optimised for plesk servers & it assume that /usr/local/psa/var/log/maillog is the mail log

 For more information regarding Milter crash, contact our specialised team at for more assistance. 

Last update:
2016-07-01 15:27
Sherin George
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category