Lars Liedtke:
I am having trouble using reject_unknown_sender_domain. I boiled the
whole restrictions down to

smtpd_recipient_restrictions = warn_if_reject reject_unknown_sender_domain

and still a mail do an invalid domain is not rejected or I am not warned
about rejection:

Am 24.10.19 um 20:20 schrieb Wietse Venema:
reject_unknown_sender_domain will consider the domain as "existing"
- if a DNS query of type MX, A, or AAAA (if compiled with IPv6
  support) produces a resource record,
- or the above query produces a response and you have configured
  an smtpd_dns_reply_filter that removed those resource records.

On 25.10.19 10:00, Lars Liedtke wrote:
Unfortunately both cases turn out negative:

- $ drill domain.invalid any
  ;; ->>HEADER<<- opcode: QUERY, rcode: SERVFAIL, id: 49179

this is your problem, the rcode should be NXDOMAIN.

SERVFAIL means that the dns server failed to find out whether the domain
exists.

it's a DNS problem.
--
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.
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton

Reply via email to