Re: Problem With exim4 smtp authenication

2012-12-14 Thread Chris Davies
Thomas H. George li...@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 ** r...@tomgeorge.info R=smarthost 
 T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL 
 FROM:r...@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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/m6drp9x6g5@news.roaima.co.uk



Re: Problem With exim4 smtp authenication

2012-12-12 Thread Howard Eisenberger
On 2012-12-03, Thomas H. George 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.  I have double checked every entry.  
 They are all correct and work with both iceape and the android mail 
 client on my HP Touchpad.

 Any one have a clue why this doesn't work?

I don't use it otherwise, but this just worked for me:

in /etc/exim4/update-exim4.conf.conf
dc_smarthost='smtp.gmail.com::587'

in /etc/exim4/passwd.client
*.google.com:myusern...@gmail.com:mypassword
(any other entries commented out)

in /etc/exim4/exim4.conf.localmacros
REMOTE_SMTP_RETURN_PATH=myusern...@gmail.com
REMOTE_SMTP_HELO_DATA=(You may not need this. I use my dyndns)

Regards,

Howard E.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ais5eqfic2...@mid.individual.net



Re: Problem With exim4 smtp authenication

2012-12-03 Thread Jon Dowland
Do either your username or password have a colon character in them?

Do you need to connect to a particular port on the remote SMTP server
in order to authenticate (e.g., some may accept authentication on the
default SMTP port, some might not - you may need to connect to the
submission port.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121203163443.GB3140@debian



Re: Problem With exim4 smtp authenication

2012-12-03 Thread Marc Auslander
Thomas H. George li...@tomgeorge.info writes:

 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.  I have double
 checked every entry.  They are all correct and work with both iceape
 and the android mail client on my HP Touchpad.

 Any one have a clue why this doesn't work?

 Tom
exim4 looks up the ip address of the target server, then reverse
translates back to its ip name to look up in passwd - which may not be the same 
as the name
you are using in the configuration.

My entries to use the gmail smtp are:

smtp.googlemail.com:m...@gmail.com:mypassword
*.googlemail.com:m...@gmail.com:mypassword
*.google.com:m...@gmail.com:mypassword


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ip8ikden@aptiva.optonline.net