Unnecessary commas in main.cf cause mail error: 451 4.7.1 Service unavailable - try again later

Created:

2016-11-16 13:15:25 UTC

Modified:

2017-04-24 11:21:33 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Unnecessary commas in main.cf cause mail error: 451 4.7.1 Service unavailable - try again later

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

  1. Messages cannot be deivered to a mailbox with the error "451 4.7.1 Service unavailable - try again later":

    # tail -fn0 /opt/psa/var/log/maillog

    postfix/smtpd[28389]: connect from relay2.plesk.ru[91.204.25.120]
    postfix/smtpd[28389]: 8FA182C01D0: client=relay2.plesk.ru[91.204.25.120]
    greylisting filter[28393]: Starting greylisting filter...
    /usr/lib/plesk-9.0/psa-pc-remote[27902]: handlers_stderr: DEFER
    /usr/lib/plesk-9.0/psa-pc-remote[27902]: DEFER during call 'grey' handler
    /usr/lib/plesk-9.0/psa-pc-remote[27902]: Message aborted.
    postfix/smtpd[28389]: 8FA182C01D0: milter-reject: DATA from relay2.plesk.ru[91.204.25.120]: 451 4.7.1 Service unavailable - try again later; from=<test@parallels.com> to=<client@plesk-server.de> proto=ESMTP helo=<relay2.plesk.ru>
  2. The Postfix config ' /etc/postfix/main.cf ' contains entries with extra commas:

    # grep milters /etc/postfix/main.cf    
    smtpd_milters = ,, inet:127.0.0.1:12768 unix:/var/spool/postfix/ctmilter/ctmilter.sock
    non_smtpd_milters = ,, inet:127.0.0.1:12768 unix:/var/spool/postfix/ctmilter/ctmilter.sock

Cause

Incorrect Postfix configuration for milter entries in /etc/postfix/main.cf . Unnecessary commas appear after Parallels Premium Outgoing Antispam ( PPOA ) is switched on or off.

Resolution

  1. Remove the commas (",") in the lines:

    # grep milters /etc/postfix/main.cf 
    smtpd_milters = inet:127.0.0.1:12768 unix:/var/spool/postfix/ctmilter/ctmilter.sock
    non_smtpd_milters = inet:127.0.0.1:12768 unix:/var/spool/postfix/ctmilter/ctmilter.sock
  2. Apply the changes:

    # postfix reload
Have more questions? Submit a request
Please sign in to leave a comment.