Mail is deferred: delivery temporarily suspended

Mail is Deferred: Delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused

Applies to:

  • Plesk for Linux/Unix

Symptoms

  • There are many emails in mail queue
  • In /var/log/maillog the following can be found:
 servername postfix/error[15666]: 8875414912DE: [email protected], relay=none, delay=0.16, 
 delays=0.12/0/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: 
 connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

Cause

Milter service in a postfix either is not started or not working properly.

Resolution

In /etc/postfix/main.cf find a service configured on port in the error message using the following command:

 # grep 10024 /etc/postfix/main.cf /etc/postfix/main.cf:content_filter = amavis:[127.0.0.1]:10024

If output is identical consider to analyze and resolve the issue with content filter amavis.

As a temporary workaround amawis can be disabled by commenting the following lines in /etc/postfix/main.cf:

 #content_filter = smtp-amavis:[127.0.0.1]:10024
 #receive_override_options = no_address_mappings  # <- it's ok if you don't have this line

Then comment out below line in /etc/postfix/master.cf,

 -o content_filter=smtp-amavis:[127.0.0.1]:10026

Restart postfix:

 # service postfix restart

 

 

 






Leave a Reply

Your email address will not be published. Required fields are marked *