Email notifications: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 5.7.1 Command rejected

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:41:51 UTC

Modified:

2017-02-06 22:49:25 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Email notifications: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 5.7.1 Command rejected

Symptoms

Getting unwanted notifications from server:

milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 5.7.1 Command rejected

Cause

Mail filter handlers misconfiguration

Resolution

Make sure to set smtpd_milters and non_smtpd_milters parameters in /etc/postfix/main.cf like bellow:

    # grep -ir milt /etc/postfix/main.cf
smtpd_milters = , inet:127.0.0.1:12768
non_smtpd_milters =

So both lines should be exactly like:

    smtpd_milters = , inet:127.0.0.1:12768
non_smtpd_milters =

If the smtpd_milters and non_smtpd_milters parameters were changed to the correct ones, restart the Postfix:

  • In Plesk, go under Tools & Settings > Services Management > SMTP Server (Postfix) . Click Restart the service icon.

  • To restart Postfix via command line

    # /etc/init.d/postfix stop
    # /etc/init.d/postfix start
Have more questions? Submit a request
Please sign in to leave a comment.