Re: [exim] Sender verify and Null MX (localhost.)

Top Page
Delete this message
Reply to this message
Author: Niels Kobschätzki
Date:  
To: exim-users
Subject: Re: [exim] Sender verify and Null MX (localhost.)
On 2 Nov 2021, at 22:56, Jeremy Harris via Exim-users wrote:

> On 02/11/2021 20:29, Niels Kobschätzki via Exim-users wrote:
>> ::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)
>
> That test took an error.
>
> [::1/128] is not a valid address-list element.
> You either need ::::1 (i.e. no [] and double the list-separator),
> or change the list-sep and use ::1


Thanks. That fixed this error. But I get still the 451:
>>> ::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"? yes (matched "::1")
>>> 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"? 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: senderdomain.com (while verifying <sender@???> from host rs224.mailgun.us [209.61.151.224])
>>> dnslookup router: defer for rcptdomain.com
>>> 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 <senderdomain.com>: 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=<senderdomain.com> temporarily rejected RCPT <rcpt@???>: Could not complete sender verify

The MX-record of the sender-domain looks like this:
senderdomain.com.       300     IN      MX      0 localhost.


The dnslookup-router again:

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
no_more

Niels