On 2 Nov 2021, at 20:39, Evgeniy Berdnikov via Exim-users wrote: > Hi. > > On Tue, Nov 02, 2021 at 08:12:49PM +0100, Niels Kobschätzki via Exim-users > wrote: >> What setting do I have to make in the dnslookup-router that a “MX 0 >> localhost.” fails and not defers? > > Try ignore_target_hosts option.
That doesn’t work: dnslookup: driver = dnslookup domains = ! +local_domains transport = remote_smtp .ifdef SRS dnssec_request_domains = * .endif mx_fail_domains = googlemail.de ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 : 10.0.0.0/8 : 172.16.0.0/12 : [::1/128] no_more leads to (…) >>> calling dnslookup router >>> seitensammler.de in "*"? yes (matched "*") >>> ::1 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 : 10.0.0.0/8 : 172.16.0.0/12 >>> : [::1/128]"? no (malformed IPv4 address or address mask) >>> 127.0.0.1 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 : 10.0.0.0/8 : >>> 172.16.0.0/12 : [::1/128]"? yes (matched "127.0.0.0/8") >>> localhost in hosts_treat_as_local? no (end of list) >>> local host has lowest MX LOG: lowest numbered MX record points to local host: seitensammler.de (while verifying <[email protected]> from host rs224.mailgun.us [209.61.151.224]) >>> dnslookup router: defer for [email protected] >>> message: lowest numbered MX record points to local host >>> ----------- end verify ------------ >>> require: condition test deferred in ACL "acl_check_rcpt" LOG: H=rs224.mailgun.us [209.61.151.224] sender verify defer for <[email protected]>: lowest numbered MX record points to local host 451 Temporary local problem - please try later LOG: H=rs224.mailgun.us [209.61.151.224] F=<[email protected]> temporarily rejected RCPT <[email protected]>: Could not complete sender verify I also tried [::1] and ::1 — they also give an error of malformed IPv4 address or address mask; but it matches then 127.0.0.0/8 Still a 451 Temporary local problem Niels
signature.asc
Description: OpenPGP digital signature
-- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
