[exim] exim4 - auth to smarthost not working

Top Page
Delete this message
Reply to this message
Author: chiel
Date:  
To: exim-users
Subject: [exim] exim4 - auth to smarthost not working
Hello,

I'm trying to get my exim4 to use the smarthost of my ISP using authentication.
I can sent mail from my computer using telnet (http://www.artran.co.uk/computers/telnetSMTP.html) and authenticate using my username and password.

When I set the same username and password in /etc/exim4/passwd.client I will get the following error in my /var/log/exim4/mainlog:

2007-03-15 14:47:20 1HRqIa-0002n9-9O => *****@***** <root@******> R=hub_user_smarthost T=remote_smtp_smarthost H=smtp.****.*** [***.***.***.***] X=TLS-1.0:RSA_AES_256_CBC_SHA1:32 DN="C=***,ST=***********,L=*******,O=********************,OU=***,CN=*.****"
2007-03-15 14:47:20 1HRqIa-0002n9-9O Completed
2007-03-15 14:56:54 1HRqRq-00030e-GJ <= root@**** U=root P=local S=310
2007-03-15 14:56:54 1HRqRq-00030e-GJ cram_md5 authenticator failed H=smtp.******** [***.***.***.***] 535 Incorrect authentication data
2007-03-15 14:56:56 1HRqRq-00030e-GJ *******@***** R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT TO:<*******@*****>: host smtp.*****.nl [***.***.***.***]: 550-Verification failed for <root@****>\n550-Unrouteable address\n550 Could not complete sender verify callout
2007-03-15 14:56:56 1HRqRs-00030k-Nm <= <> R=1HRqRq-00030e-GJ U=Debian-exim P=local S=1280
2007-03-15 14:56:56 1HRqRq-00030e-GJ Completed
2007-03-15 14:56:56 1HRqRs-00030k-Nm cram_md5 authenticator failed H=smtp.**** [***.***.***.***] 535 Incorrect authentication data
2007-03-15 14:56:56 1HRqRs-00030k-Nm => ****@***** <root@*****> R=hub_user_smarthost T=remote_smtp_smarthost H=smtp.***** [****.***.****.***] X=TLS-1.0:RSA_AES_256_CBC_SHA1:32 DN="C=*****,ST=*******,L=********,O=***********,OU=***,CN=*.*****l"
2007-03-15 14:56:56 1HRqRs-00030k-Nm Completed


I have also set " AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS " in some configs files, but I get the same exact error as above.
After making some config change I restart exim using: /etc/init.d/exim4 restart

and test it with: printf text | mail -s "subject" e-mail address



Hope somebody can help me because all the google links where not.