SPF rejects mail on unsupported SPF RR type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postfix-policyd-spf-perl |
Fix Released
|
Medium
|
Scott Kitterman | ||
mail-spf-perl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
postfix-policyd-spf-perl (Ubuntu) |
Fix Released
|
Medium
|
Scott Kitterman |
Bug Description
Binary package hint: libmail-
Not all DNS servers support the new SPF RR type and reply unsupported or SERVFAIL to queries for it. libmail-
Noted here that some email servers will incorrectly reject mail if unsupported:
http://
Example rejection:
Nov 9 15:26:11 hyolee postfix/
A possible workaround is editing /usr/share/
$packet-
This produces a SPF: none result:
Nov 9 16:52:45 hyolee postfix/
Something else is happening because the email is still rejected due to a policyd timeout:
Nov 9 16:53:54 hyolee postfix/
Nov 9 16:53:54 hyolee postfix/
If I comment out the entire SPF lookup section:
# Query for SPF type RRs first:
# try {
# my $packet = $self->
# push(
# @records,
# $self->
# $packet, 'SPF', \@versions, $scope, $domain)
# );
# }
# catch Mail::SPF:
# push(@dns_errors, shift);
# };
That sending host now works:
Nov 9 17:41:36 hyolee postfix/
Nov 9 17:41:36 hyolee postfix/
Nov 9 17:41:36 hyolee postfix/
...
Related branches
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in mail-spf-perl: | |
assignee: | nobody → kitterman |
status: | Incomplete → Triaged |
assignee: | kitterman → nobody |
Changed in postfix-policyd-spf-perl: | |
assignee: | nobody → kitterman |
status: | New → Triaged |
Changed in postfix-policyd-spf-perl: | |
status: | New → Fix Released |
Which version of postfix- policyd- spf-perl are you using? I suspect this belongs to mail-spf-perl as all the packaged versions of the Postfix policy server use that library and not mail-spf- query-perl.