> -----Original Message-----
> From: Gareth Walters [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 27 February 2003 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [SLUG] Exim AUTH SMTP Relay - how?
> 
> 
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 27, 2003 9:24 AM
> Subject: [SLUG] Exim AUTH SMTP Relay - how? All,
> 
> >To get things working I have put in a LOGIN and PLAIN 
> authentication method
> with a fixed username/password.  I'll switch to using the system
> >usernames/passwords later on a per-user basis.  I've tested 
> authentication as
> per the Exim documentation: '\0username\0password' to base64, 
> then >tested
> >using both "exim -bh 1.2.3.4" and "telnet 127.0.0.1 25" - each time
> authentication succeeds and relay is possible :-)
> >Enter Outlook & Outlook Express (boo hiss - crowd throws 
> beer cans and sticks
> onto the field).  It just sits there endlessly asking for a 
> >username/password.
> I have the correct(??) "Username:: : Password::" as the 
> string that is sent but
> no joy.
> 
> 
> Try telnetting to the SMTP port, when a response comes back type
> EHLO then hit enter, you should get something lke this (I 
> expect only PLAIN and
> LOGIN to appear)
> if it fails this test then you need to test your exim 
> configuration some more.
> 
> [EMAIL PROTECTED] ~]$ telnet mymailserver 25
> Trying 192.168.1.30...
> Connected to mymailserver.
> Escape character is '^]'.
> 220 mymailserver ESMTP Exim 4.11 Thu, 27 Feb 2003 15:17:49 +1100
> EHLO mymailserver
> 250-mymailserver Hello myserver [10.40.1.20]
> 250-SIZE 52428800
> 250-PIPELINING
> 250-AUTH CRAM-MD5 PLAIN LOGIN
> 250 HELP

Thanks for the pointers, however this seems to pass the test:

c:\>telnet <mymail> 25
220 <mymail> ESMTP Exim 3.35 #1 Mon, 03 Mar 2003 11:00:43 +1100
EHLO <mymail>
250-<mymail> Hello <client> [10.0.0.4]
250-SIZE
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP

So now I'm totally stumped.  I restart inetd after each config change (not necessary 
really, because exim reads it's config each time it is spawned by inetd).  Is this a 
problem? Should I run exim in daemon mode, rather than be called from inetd??  I 
notice you are running Exim 4.11, but mine is the earlier version as shipped with 
Debian 3.0.

Still trying :)  Thanks for your help so far.

--James
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to