[Exim] DNS problems in using exim 4.20

Etusivu
Poista viesti
Vastaa
Lähettäjä: Sandip Bhattacharya
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] DNS problems in using exim 4.20
Hi!

I am at my wits end trying to use authentication while using exim as a
client to send mails to a relay host. And now I seem to be having a DNS
based problem. And from the looks of it, exim seems to be getting confused
with my DNS data. The weird thing is that auth was working a day or two
before and suddenly stopped working yesterday.

My relay host is master.puroga.com, and I am attempting to send mails from
my home machine, authenticating to the remote SMTP server(which is also
running exim) and hopefully using TLS.

----------My relevant router is:

send_to_smart_host:
driver = manualroute
domains = ! +local_domains
route_list = * master.puroga.com bydns
transport = remote_smtp
debug_print = "send_to_smart_host router"
no_more

-------- My relevant transport is:

remote_smtp:
debug_print = "SMTP transport"
driver = smtp
hosts_require_auth = master.puroga.com

----------- Authenticators
Authenticator:
begin authenticators

fixed_plain:
driver = plaintext
public_name = PLAIN
client_send = ^LOGIN^PASSWORD

Now when running exim with the following command line:
exim -d+all -bt sandip@???

I am getting the following output:

[...]
09:56:06  2250 route_item = * master.puroga.com bydns
09:56:06  2250 ---0 Get 135086784     8       string.c  530
09:56:06  2250 ---0 Get 135086792    24       string.c  530
09:56:06  2250 ---0 Get 135086816    16       string.c  387
09:56:06  2250 ---0 Get 135086832    24       string.c  349
09:56:06  2250 linux-delhi.org in "*"? yes (matched "*")
09:56:06  2250 original hostlist=master.puroga.com options=bydns
09:56:06  2250 ---0 Get 135086856    24       string.c  349
09:56:06  2250 expanded hostlist="master.puroga.com" options=bydns
09:56:06  2250 set transport remote_smtp
09:56:06  2250 ---0 Get 135086880    40         host.c  128
09:56:06  2250 ---0 Get 135086920    24       string.c  349
09:56:06  2250 finding IP address for master.puroga.com
09:56:06  2250 doing DNS lookup
09:56:06  2250 --Malloc 135073496   171         exim.c   41 16400 4660
09:56:06  2250 DNS lookup of master.puroga.com (A) succeeded
09:56:06  2250 ---0 Get 135086944    32          dns.c  694
09:56:06  2250 ---0 Get 135086976    16       string.c  466
09:56:06  2250 ---0 Get 135086992    32          dns.c  694
09:56:06  2250 ---0 Get 135087024    40         host.c 1630
09:56:06  2250 ---0 Get 135087064    32          dns.c  694
09:56:06  2250 ---1 Get 135078840    56    ../src/os.c  652
09:56:06  2250 Actual local interface address is 127.0.0.1 (lo)
09:56:06  2250 ---1 Get 135078896    56    ../src/os.c  652
09:56:06  2250 Actual local interface address is 192.168.254.2 (eth0)
09:56:06  2250 ---1 Get 135078952    56    ../src/os.c  652
09:56:06  2250 Actual local interface address is 192.168.254.5 (eth0:1)
09:56:06  2250 fully qualified name = master.puroga.com
09:56:06  2250 puroga.com 66.98.128.200 mx=-1 sort=-277
09:56:06  2250 puroga.com 66.98.128.18 mx=-1 sort=-107
09:56:06  2250 queued for remote_smtp transport: local_part = sandip
09:56:06  2250 domain = linux-delhi.org
09:56:06  2250   errors_to=NULL
09:56:06  2250   domain_data=NULL localpart_data=NULL
09:56:06  2250 routed by send_to_smart_host router
09:56:06  2250   envelope to: sandip@???
09:56:06  2250   transport: remote_smtp
09:56:06  2250   host puroga.com [66.98.128.200]
09:56:06  2250   host puroga.com [66.98.128.18]
sandip@???
   router = send_to_smart_host, transport = remote_smtp
   host puroga.com [66.98.128.200]
   host puroga.com [66.98.128.18]
[...]


However, "host master.puroga.com" returns,
--------------------
master.puroga.com is an alias for puroga.com.
puroga.com has address 66.98.128.18
ns1.puroga.com has address 66.98.128.200
ns2.puroga.com has address 66.98.128.200
---------------------

Not only is authentication not attempted, the SMTP connection is attempted
on a wrong DNS address (66.98.128.200) instead of [66.98.128.18]

Help!

- Sandip