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 “0.0.0.0:*”

=================
-bash-4.1# netstat -alpn | grep 12768
tcp        0      0 127.0.0.1:12768             0.0.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[192.168.52.36]: 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;

wget http://files.bytehouse.co.uk/watch-milter.sh

chmod -v 755 /root/scripts/watch-milter.sh

========================

 

Add following cron.

 

=========================

* * * * * /root/scripts/watch-milter.sh

=========================

 

Notes

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 www.bytehouse.co.uk/contact for more assistance. 

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

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Most popular FAQs RSS

  1. I require an additional IPv4 address. What is Bytehouse's ... (89488 views)
  2. The Most Common Problems When Migrating Websites (71398 views)
  3. How do I create a 301 redirect? (59283 views)
  4. Can I Backup Exchange 2010 with My Online Backup ... (55662 views)
  5. Steps to Add Administrator User for Windows Server (50557 views)

Latest FAQs RSS

  1. Steps to set/customize log rotation from plesk (2016-07-25 07:15)
  2. Generate a self-signed SSL certificate - Nginx,CentOS (2016-07-07 02:31)
  3. Procedure re-register Volume Shadow Copy Service(VSS) in a Windows ... (2016-07-05 04:18)
  4. Steps to Install Mcrypt in Plesk (2016-07-01 17:11)
  5. How to Retrieve a Plesk Password in Linux and ... (2016-07-01 17:09)

Regular new KB articles

Check back from time to time for new articles, or if you have any suggestions please feel free to recommend

top