Re: [Exim] Startup

Pàgina inicial
Delete this message
Reply to this message
Autor: Dan Egli
Data:  
A: Bruce Richardson
CC: exim-users
Assumpte: Re: [Exim] Startup
Bruce Richardson wrote:

> On Fri, May 21, 2004 at 02:15:08PM +0200, Steven Lobbezoo wrote:
>
>>Yaeh, I see, but i donnot have LDAP.
>>So how do I check against the password or shadow files ?
>
>
> Replace the ldap lookup with some other kind of lookup.
>
> http://www.exim.org/exim-html-4.30/doc/html/spec_9.html#CHAP9
>



Yea. Exim won't read from the shadow files becaus it runs as a non-priv
user and you have to be UID/EUID 0 to read /etc/shadow. Exim by default
comes configured so it will NEVER run as UID 0 (safety feature). I just
installed Cyrus SalsAuthd and run my lookups that way. Works great,
except I'm having issues with my Cram-MD5 logins. But PlainText works
fine. Here's my authenticators:

plain:
driver = plaintext
public_name = PLAIN
server_condition = ${if saslauthd{{$2}{$3}}{1}{0}}
server_set_id = $2

login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = ${if saslauthd{{$1}{$2}}{1}{0}}
server_set_id = $1

login_cram:
driver = cram_md5
public_name = CRAM-MD5
server_secret = ${if saslauthd{{$1}{$2}}{1}{0}}
server_set_id = $1