Mail is Deferred: Delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
servername postfix/error: 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)
Milter service in a postfix either is not started or not working properly.
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,
# service postfix restart