### Postfix SPF Error - postfix-policyd-spf-perl and SERVFAIL ### | |
// Problem // | |
One day my Postfix started to reject mails from a specific domain. After some q… | |
Obviously, the root problem lies in the crappy implementation of the remote dom… | |
Jan 20 19:34:01 mail postfix/policy-spf[6114]: : Policy action=DEFER_IF_PERMIT … | |
Jan 20 19:34:01 mail postfix/smtpd[6102]: NOQUEUE: reject: RCPT from mail.examp… | |
// Workaround // | |
The workaround I found was to modify the SPF script. I changed the /usr/share/p… | |
$packet->header->rcode =~ /^(NOERROR|NXDOMAIN)$/ | |
to make it look like this: | |
$packet->header->rcode =~ /^(NOERROR|NXDOMAIN|SERVFAIL)$/ | |
What I did, is to change the error on TXT to be threated as an 'ok' situation. … | |