Re: [exim] SMTP authentication with Courier userdb

Top Page
Delete this message
Reply to this message
Author: Juha Saarinen
Date:  
To: Dominic Cleal
CC: exim-users
Subject: Re: [exim] SMTP authentication with Courier userdb
On 7/12/06, Dominic Cleal <domnews@???> wrote:
>
> The difference seems to be in how they determine whether authentication
> was successful or not.
>
> Juha's config tests for the string "FAIL\n" - if it returns that, then
> authentication fails but otherwise, on any other value, it will be
> successful. If the authdaemon syntax changed, or some other fault
> occurred, I would guess that it's possible the daemon could return a
> different value upon a failure, making the expansion evaluate to 'yes'.
>
> The wiki config assumes the keyword=value syntax and tests for the
> 'address' keyword. If that's present, then it's assumed to be
> successful, otherwise it fails.
>


Thanks Dominic and Jakob.

Will test with Jakob's config to see if it works with multiple domains -
have a vague recollection that's the reason I used a simpler test for the
authentication.


--

Juha