attribute name Jan 16 19:25:24 mail policyd-spf[14968]: Traceback (most recent call last): Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python-exec/python3.8/policyd-spf", line 808, in <module> Jan 16 19:25:24 mail policyd-spf[14968]: checkerValue, checkerReason, instance_dict, iserror = _spfcheck(data, Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python-exec/python3.8/policyd-spf", line 525, in _spfcheck Jan 16 19:25:24 mail policyd-spf[14968]: res = heloquery.check() Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/spf.py", line 595, in check Jan 16 19:25:24 mail policyd-spf[14968]: spf = self.dns_spf(self.d) Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/spf.py", line 1164, in dns_spf Jan 16 19:25:24 mail policyd-spf[14968]: a = [t for t in self.dns_txt(domain) if RE_SPF.match(t)] Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/spf.py", line 1214, in dns_txt Jan 16 19:25:24 mail policyd-spf[14968]: dns_list = self.dns(domainname, rr,ignore_void=ignore_void) Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/spf.py", line 1358, in dns Jan 16 19:25:24 mail policyd-spf[14968]: for k, v in DNSLookup(name, qtype, self.strict, timeout): Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/spf.py", line 131, in DNSLookup_dnspython Jan 16 19:25:24 mail policyd-spf[14968]: answers = dns.resolver.query(name, qtype, lifetime=timeout) Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/dns/resolver.py", line 1221, in query Jan 16 19:25:24 mail policyd-spf[14968]: return resolve(qname, rdtype, rdclass, tcp, source, Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/dns/resolver.py", line 1205, in resolve Jan 16 19:25:24 mail policyd-spf[14968]: return get_default_resolver().resolve(qname, rdtype, rdclass, tcp, source, Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/dns/resolver.py", line 1178, in get_default_resolver Jan 16 19:25:24 mail policyd-spf[14968]: reset_default_resolver() Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/dns/resolver.py", line 1190, in reset_default_resolver Jan 16 19:25:24 mail policyd-spf[14968]: default_resolver = Resolver() Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/dns/resolver.py", line 695, in __init__ Jan 16 19:25:24 mail policyd-spf[14968]: self.read_resolv_conf(filename) Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/dns/resolver.py", line 781, in read_resolv_conf Jan 16 19:25:24 mail policyd-spf[14968]: raise NoResolverConfiguration Jan 16 19:25:24 mail policyd-spf[14968]: dns.resolver.NoResolverConfiguration: Resolver configuration could not be read or specified no nameservers. Jan 16 19:25:24 mail postfix/spawn[14858]: warning: command /usr/bin/policyd-spf exit status 1 Jan 16 19:25:24 mail postfix/smtp/smtpd[7230]: warning: premature end-of-input on private/policy-spf while reading input attribute name Jan 16 19:25:24 mail postfix/smtp/smtpd[7230]: warning: problem talking to server private/policy-spf: Success Reproducible: Always
It is sad to read that you have problems with the software. I can hardly understand your report and it requires more details and some analysis. We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3]. I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4]. Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product. [1] https://www.gentoo.org/get-involved/irc-channels/ [2] https://forums.gentoo.org/ [3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html [4] https://www.gentoo.org/support/
Sry. It's an postfix error log. I came from #gentoo. They send me Here.
Its not resolved. Spf-engine is policy-spf for postfix. The new version of dnspython breaks it.
It looks like this is the important error: Jan 16 19:25:24 mail policyd-spf[14968]: File "/usr/lib/python3.8/site-packages/dns/resolver.py", line 781, in read_resolv_conf Jan 16 19:25:24 mail policyd-spf[14968]: raise NoResolverConfiguration Jan 16 19:25:24 mail policyd-spf[14968]: dns.resolver.NoResolverConfiguration: Resolver configuration could not be read or specified no nameservers. Is your /etc/resolv.conf readable by the daemon (and are there valid nameservers in there)?
Ping... I'm not sure this is a problem with spf-engine.