Mail is deferred: delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused

Created:

2016-11-16 12:55:26 UTC

Modified:

2017-08-16 17:39:51 UTC

17

Was this article helpful?


Have more questions?

Submit a request

Mail is deferred: delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused

Applicable to:

  • Plesk for Linux

Symptoms

  • There are many emails in mail queue
  • In /var/log/maillog the following can be found:

    servername postfix/error[15666]: 8875414912DE: to= user@example.com , 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
Have more questions? Submit a request
Please sign in to leave a comment.