Plesk

Plesk Postfix error – Delivery to the following recipient failed permanently

An email sender to your server is getting a bounce message:


Delivery to the following recipient failed permanently".

Email logs show:


Feb  3 11:57:52 mail postfix/cleanup[21623]: D4153A20130: milter-reject: END-OF-MESSAGE from mail-ob0-f181.google.com[209.85.214.181]: 5.7.1 Command rejected; from= to= proto=ESMTP helo=

Resolution:

Check the logs as the email is being rejected for a non SPF record:


Feb 3 11:57:50 mail spf filter[22107]: Starting spf filter...
Feb 3 11:57:52 mail spf filter[22107]: SPF result: fail
Feb 3 11:57:52 mail spf filter[22107]: SPF status: REJECT
Feb 3 11:57:52 mail /usr/lib64/plesk-9.0/psa-pc-remote[1877]: handlers_stderr: REJECT
Feb 3 11:57:52 mail /usr/lib64/plesk-9.0/psa-pc-remote[1877]: REJECT during call 'spf' handler
Feb 3 11:57:52 mail /usr/lib64/plesk-9.0/psa-pc-remote[1877]: Message aborted.
Feb 3 11:57:52 mail postfix/cleanup[21623]: D4153A20130: milter-reject: END-OF-MESSAGE from mail-ob0-f181.google.com[209.xx.xx.xx]: 5.7.1 Command rejected; from= to= proto=ESMTP helo=