spf ends with warning and "Success" but mail was rejected
last stable spf python library has a bug: https:/
This bug generates some errors/warnings on filter, who finalizes with warning: problem talking to server private/policy-spf: Success
But postfix ends up rejecting the mail.
I think policyd-spf should prevent the mail from being rejected due to an internal error. ¿Maybe the problems is status code?
¿How can I prevent this situation?
Example:
File "/usr/local/
a = [t for t in self.dns_
File "/usr/local/
dns_list = self.dns(
File "/usr/local/
for k, v in DNSLookup(name, qtype, self.strict, timeout):
File "/usr/local/
if strict > 1:
NameError: name 'strict' is not defined
4]: warning: command /usr/local/
4]: warning: premature end-of-input on private/policy-spf while reading input attribute name
4]: warning: problem talking to server private/policy-spf: Success
4]: NOQUEUE: reject: RCPT from mail.xxxxx.
Note: Now I applied a patch with bug correction, but I ask for prevent postfix reject mails when policyd-spf error fails internally.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Victor Rubiella Monfort for more information if necessary.