Re: [exim] exim4 - auth to smarthost not working

Top Page
Delete this message
Reply to this message
Author: Mike Cardwell
Date:  
To: exim-users
Subject: Re: [exim] exim4 - auth to smarthost not working
* on the Thu, Mar 15, 2007 at 03:06:28PM +0100, chiel wrote:

> 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


Please provide config snippets for the hub_user_smarthost router, the
remote_smtp_smarthost transport, and most importantly your authenticators.

I get the feeling you might be using Debian. You might get more
appropriate help on the Debian specific exim users mailing list. See
http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users

Also. Please note that some people on this list get all upset when
you obfuscate code snippets by doing stuff like replacing stuff with *'s
regardless of whether or not it makes the question any more difficult to
answer. You might be better off posting non-obfuscated code/log
snippets.

Mike