Re: [Exim] Plain text authentication not working

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andreas Metzler
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Plain text authentication not working
On Sun, Oct 05, 2003 at 06:44:54PM +1000, Andrew Nelson wrote:
> I found this code in the documentation and put it in the
> authentication section of my config, but still get "relay not
> permitted" (even when configuring outlook with the username
> and password ("ph10", "secret")..


>  fixed_plain:
>    driver = plaintext
>    public_name = PLAIN
>    server_prompts = :
>    server_condition = \
>      ${if and {{eq{$2}{ph10}}{eq{$3}{secret}}}{yes}{no}}
>    server_set_id = $2


> I've read through all the authentication sections of the docs
> and still can't make it work! telnetting to port 25 and entering
> HELO doesn't show up any AUTH stuff..


Aaron is right, you need EHLO.

> Exim should have been compiled with it (its in the freebsd port)..
> How do I tell exim to look for username/passwords before spitting
> out "relay not permitted" ?


Iirc even the rcpt-ACL in the default configuration file includes
accept authenticated = *
and accept authenticated defaults to "*", perhaps the client does not do
AUTH PLAIN properly?

telnet server 25
ehlo your.host.name
AUTH PLAIN AHBoMTAAc2VjcmV0

        cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"