[exim] Named domainlist in mx_fail_domains

Top Page
Delete this message
Reply to this message
Author: Sergey Listopad
Date:  
To: Exim users mailing list
Subject: [exim] Named domainlist in mx_fail_domains
Hello,

I have FreeBSD server running exim 4.66.

I use following configuration:

domainlist hwmx = ga-rpg.com : mail.ru

relay_by_mx:
     driver              = dnslookup
     transport           = remote_smtp
     ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
     mx_fail_domains     = +hwmx
     self                = fail
     no_more


But as I see, +hwmx is not works here.

>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> routing news@???
>>> calling relay_by_mx router
>>> ga-rpg.com in dns_again_means_nonexist? no (option unset)
>>> ga-rpg.com in "+hwmx"? no (end of list)

                      ^^^^^^^^

>>> relay_by_mx router: defer for news@???
>>> message: host lookup did not complete
>>> ----------- end verify ------------
>>> require: condition test deferred

451 Temporary local problem - please try later

When I use this configuration:

relay_by_mx:
     driver              = dnslookup
     transport           = remote_smtp
     ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
     mx_fail_domains     = ga-rpg.com : mail.ru
     self                = fail
     no_more


all works good.

>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>> routing news@???
>>> calling relay_by_mx router
>>> ga-rpg.com in dns_again_means_nonexist? no (option unset)
>>> ga-rpg.com in "ga-rpg.com : mail.ru"? yes (matched "ga-rpg.com")

                                          ^^^^^

>>> 63.223.67.236 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
>>> routed by relay_by_mx router
>>> Attempting full verification using callout
>>> callout cache: found domain record
>>> callout cache: found address record
>>> callout cache: address record is negative
>>> ----------- end verify ------------
>>> require: condition test failed

550 Unverified sender

This is a bug or a feature?

--
S.Listopad