On 2022-02-06 05:10, Scott Kitterman wrote:
On Saturday, February 5, 2022 11:36:40 AM EST Fourhundred Thecat wrote:
 > On 2022-02-05 16:00, Scott Kitterman wrote:

Here's how you would do essentially the same query as mentioned in the log
directly with pyspf:

python3 /usr/lib/python3/dist-packages/spf.py 77.75.76.210 seznam.cz
t...@seznam.cz

On 06.02.22 06:35, Fourhundred Thecat wrote:
thank you, this helped a lot. I think I now understand thew problem:

I had my nameservers defined in /etc/resolv.conf, and the first one did
not work:

 nameserver 209.244.0.3
 nameserver 8.8.8.8

You should run recursive DNS service locally for a mail server, to avoid
forwarding to public namservers, if you want to check for spam (dnsbl). Most of those lists block queries from public DNS servers.


The spf.py script seems to take the first nameserver only, and whet it
gets no response generates the Tempfail error.

That's bad SW design.  If one nameserver returns fail, you should try
another one.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese.

Reply via email to