Re: [Exim] SMTP_AUTH problems with Exim 4.10 amd OS X Server

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: dave@nisus.com
CC: exim-users@exim.org
Subject: Re: [Exim] SMTP_AUTH problems with Exim 4.10 amd OS X Server
On Thu, 2 Jan 2003, dave@??? wrote:

> I am using Exim 4.10 on OS X Server 10.2.2. After a few problems, I got it


Upgrade to exim 4.12, this is not related to your problem, but it's better
to use the latest version.

> to work, thanks to this article on afp548.com:
>
> http://www.afp548.com/Articles/Jaguar/exim410.html
>
> However, I cannot get relaying with SMTP_AUTH to work. This is from my log:
>
> LOG: smtp_connection MAIN
> SMTP connection from adsl-63-196-80-238.dsl.sndg02.pacbell.net
> [63.196.80.238] (TCP/IP connection count = 2)
> SMTP>> 220 mail.nisus.com ESMTP Exim 4.10 Thu, 02 Jan 2003 03:26:32 -0800
> Process 1141 is ready for new message
> smtp_setup_msg entered
> SMTP<< XXXX [10.0.1.2]

         ^^^^ OUCH!
Your client is sending "XXXX [10.0.1.2]" as a command, or was it you
working with telnet?


> LOG: smtp_syntax_error MAIN
> SMTP syntax error in "XXXX [10.0.1.2]"
> H=adsl-63-196-80-238.dsl.sndg02.pacbell.net [63.196.80.238] unrecognized
> command
> SMTP>> 500 unrecognized command
> SMTP<< HELO [10.0.1.2]

         ^^^^
HELO is plain SMTP, no AUTH capabilities will be announced
to the client, you must use EHLO (ESMTP). And I don't think that the
HELO [IP] syntax is correct, but I could be wrong in this point.


> I can't quite understand what's happening here.
>
> Any help is appreciated from this newbie to Exim.


do exim -d -bh 10.0.1.2
this will emulate an SMTP session from 10.0.1.2

now type
EHLO your.host.name.tld

you should get back an capabilities announcement, that includes a line
like this

250-AUTH CRAM-MD5 LOGIN PLAIN

if not, something in your config is wrong, the debug output will include a
line like this

Host in auth_advertise_hosts? ...

What does it say for you?

ciao