Article ID: 128607, created on Apr 2, 2016, last review on Apr 2, 2016

  • Applies to:
  • Plesk Automation 11.5

Question

The email notifications are not sent to administrator as a result of SPF checking.

Postfix on the management node is checking SPF record of sender before putting the email into the queue.

The following message in the /usr/local/psa/var/log/maillog:

Mar 31 08:45:11 server /usr/lib64/plesk-9.0/psa-pc-remote[3969]: SKIP during call 'check-quota' handler
Mar 31 08:45:11 server spf filter[17723]: Starting spf filter...
Mar 31 08:45:14 server spf filter[17723]: SPF result: fail
Mar 31 08:45:14 server spf filter[17723]: SPF status: REJECT
Mar 31 08:45:14 server /usr/lib64/plesk-9.0/psa-pc-remote[3969]: handlers_stderr: REJECT
Mar 31 08:45:14 server /usr/lib64/plesk-9.0/psa-pc-remote[3969]: REJECT during call 'spf' handler
Mar 31 08:45:14 server /usr/lib64/plesk-9.0/psa-pc-remote[3969]: Message aborted.
Mar 31 08:45:14 server postfix/cleanup[17720]: 3B6C1106FA2: milter-reject: END-OF-MESSAGE from server.example.com.br[203.0.113.2]: 5.7.1 Command rejected; from=<source@example.com> to=<destination@example.com.br> proto=SMTP helo=<server>
Mar 31 08:45:14 server postfix/smtpd[17717]: disconnect from server.example.com.br[203.0.113.2]

How to disable this checking?

Answer

To list the Postfix's handlers configured on Management Node execute:

# /usr/local/psa/admin/bin/mail_handlers_control --list
.---.---.-------.--------------------------------------.-----------------.------------------.---------------.
| E | P | prior |               address                |       name      |       type       |     queue     |
|---|---|-------|--------------------------------------|-----------------|------------------|---------------|
| X |   |    10 |                                  all | dd52-domainkeys |           global |  before-local |
| X |   |    10 |                                  all |             spf |           global |  before-queue |
'---'---'-------'--------------------------------------'-----------------'------------------'---------------'

Then remove unnecessary handler:

# /usr/local/psa/admin/bin/mail_handlers_control --remove --name=spf --type=global --queue=before-queue

Search Words

SPF status: REJECT

5.7.1 Command rejected

events not send email

notifications are not sent

events notification not working

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF