Am 24.10.19 um 20:20 schrieb Wietse Venema: > Lars Liedtke: >> Hello, >> >> 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: > 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. > > Wietse
Unfortunately both cases turn out negative: - $ drill domain.invalid any ;; ->>HEADER<<- opcode: QUERY, rcode: SERVFAIL, id: 49179 ;; flags: qr rd ra ; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;; domain.invalid. IN TYPE255 ;; ANSWER SECTION: ;; AUTHORITY SECTION: ;; ADDITIONAL SECTION: ;; Query time: 0 msec ;; SERVER: 10.0.2.3 ;; WHEN: Fri Oct 25 09:47:04 2019 ;; MSG SIZE rcvd: 32 - $ postconf | grep smtpd_dns smtpd_dns_reply_filter = -- punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 i...@punkt.de https://www.punkt.de Gf: Jürgen Egeling AG Mannheim 108285
0xDD6D744EC1628062.asc
Description: application/pgp-keys