Re: [Exim] Startup

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Bruce Richardson
Datum:  
To: exim-users
Betreff: Re: [Exim] Startup
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 ?


There's a pam string expansion condition that lets you authenticate
against anything for which there is a pam module. Alternatively, you
could build your own simple password file and check against that.

An example from the Exim docs, for a plain authenticator:

    server_condition = ${if pam{$1:${sg{$2}{:}{::}}}{yes}{no}}


There are problems using pam with Exim, though, as someone else is
finding atm. A simple example of a file lookup where the file contains
unencrypted passwords would be

    server_condition = ${if eq{$2}{${lookup{$1}lsearch{/etc/exim/auth/passwd}{$value}fail}}{yes}{no}}


--
Bruce

I am now a little wary of bananas.