On 27.02.23 08:07, Fourhundred Thecat wrote:
I am using simple python script to parse postfix logs, and ban offending
IP addresses. One of the patterns I am matching is unknown host:
NOQUEUE: reject: RCPT from unknown[195.133.40.183]: 450 4.7.25
Client host rejected: cannot find your hostname
The problem is, postfix does not seem to distinguish between IP having
no DNS record, and my DNS server being temporarily unavailable.
why do you think that?
the error above is a "4xx" which means temporary error - the client is
expected to retry.
--
Matus UHLAR - fantomas, [email protected] ; 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.
Linux IS user friendly, it's just selective who its friends are...