[Exim] Mmmh, callbacks and smarthosts seem to conflict in ex…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc MERLIN
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Mmmh, callbacks and smarthosts seem to conflict in exim 4.02
220 gandalf.merlins.org ESMTP Exim 4.02 #3 Sun, 14 Apr 2002 16:29:52 -0700 - mm1
mail from: myaddress@???
250 OK
rcpt to: merlin@gandalf
550-Verification failed for <myaddress@???>
550-Called:   198.186.202.175
550-Sent:     RCPT TO:<myaddress@???>
550-Response: 550-host m206-12.dsl.tsoft.com (gandalf.merlins.org) [198.144.206.12] is not permitted to relay
550 Sender verify failed


Yeah, sure, except that the callback went to 198.186.202.175
and
root@gandalf:# host -t MX merlins.org
merlins.org             MX      10 mail.merlins.org
merlins.org             MX      20 externalmx.valinux.com
root@gandalf:~# host mail.merlins.org
mail.merlins.org        A       204.80.101.251
root@gandalf:~# host externalmx.valinux.com
externalmx.valinux.com  A       198.186.202.147


Why did exim 4.02 ask 198.186.202.175 if it would accept mail for merlins.org?

I ran it under debugging mode, and found:
routing myaddress@???
--------> smarthost router <--------
local_part=marc domain=merlins.org
checking domains
---0 Get 135112832    16       string.c  388
---0 Get 135112848    40       string.c  350
---0 Get 135112888    80       string.c  350
merlins.org in "@ : @[] : gandalf : gandalf-lists.merlins.org : localhost"? no (end of list)
merlins.org in "! +local_domains"? yes (end of list)
cached lookup data = NULL
calling smarthost router
smarthost router called for myaddress@???
  domain = merlins.org
route_item = * smtp.vasoftware.com
---0 Get 135112968     8       string.c  486
---0 Get 135112976    24       string.c  486
---0 Get 135113000    16       string.c  388
---0 Get 135113016    24       string.c  350
merlins.org in "*"? yes (matched "*")
original hostlist=smtp.vasoftware.com options=
---0 Get 135113040    24       string.c  350
expanded hostlist="smtp.vasoftware.com" options=
---0 Get 135113064    40         host.c  113
---0 Get 135113104    24       string.c  350
---0 Get 135113128    16       string.c  350
---0 Get 135113144    32       string.c  350
198.186.202.175 in "127.0.0.1"? no (end of list)
fully qualified name = smtp.vasoftware.com
smtp.vasoftware.com 198.186.202.175 mx=-1
queued for remote_smtp transport: local_part = marc
domain = merlins.org
  errors_to=NULL
  domain_data=NULL localpart_data=NULL
routed by smarthost router
  envelope to: myaddress@???
  transport: remote_smtp
  host smtp.vasoftware.com [198.186.202.175]
Attempting full verification using callout
interface=NULL port=25
Connecting to smtp.vasoftware.com [198.186.202.175]:25 ... connected



I do have smtp.vasoftware.com as a smarthost, but it should not be used
during SMTP callback (although I agree that in real life you don't typically
use callbacks or even receive mail if you have a smarthost, so if this
doesn't get fixed, it's not the end of the world)

Marc
--
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking


Home page: http://marc.merlins.org/ | Finger marc_f@??? for PGP key