[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem With exim4 smtp authenication



Thomas H. George <lists@tomgeorge.info> wrote:
> I have edited passwd and entered server:user:password exactly as 
> described in exim4_passwd_client and run dpkg-reconfigure exim4-config.  
> When I try to send mail using exim4 and then tail /var/log/exim4/mainlog 
> I find authenication has failed.

> 2012-12-03 11:09:02 1TfYZq-000658-2d ** root@tomgeorge.info R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL FROM:<root@tomgeorge.info> SIZE=1975: host smtpout.where.secureserver.net [64.202.165.69]: 530 authentication required


I'm a bit late to this thread but I think I can see the problem. I've
hit this before and the reason is the little paragraph in the manpage
that states,

    Please note that target.mail.server.example is currently the value
    that exim can read from reverse DNS: It first follows the host name
    of the target system until it finds and IP address, and then looks
    up the reverse DNS for that IP address to use the outcome of this
    query (or the IP address itself should the query fail) as index
    into /etc/exim4/passwd.client.

Based on your logfile, I would hazard that you're trying to authenticate
to smtpout.where.secureserver.net. However, this server has several
IP addresses (well, I've found four so far), and when you find the rDNS
for these servers, it's *these* that need to go into your passwd.client
file.

    smtpout.where.secureserver.net ->
	173.201.192.229	-> p3plsmtpa07-v01.prod.phx3.secureserver.net
	173.201.193.101	-> p3plsmtpa08-v01.prod.phx3.secureserver.net
	64.202.165.58	-> smtp.starfieldtech.com
	64.202.165.69	-> m1plsmtpa01-v01.prod.mesa1.secureserver.net

Chris


Reply to: