Re: [Exim] Passwd file authenticator

Página Inicial
Delete this message
Reply to this message
Autor: Jez Hancock
Data:  
Para: exim-users
Assunto: Re: [Exim] Passwd file authenticator
On Fri, Oct 10, 2003 at 10:53:44AM +0100, James Cumming wrote:
> I'm trying to configure exim 4.24 to force authentication from clients such as Outlook using the passwd file on my server.
> Unfortunately, the documentation is very detailed about everything except how to get it working!
>
> I basically want it to fail to relay mail from that IP if the user isn't authenticated correctly.
>
> Can someone provide me with an example for the exim.conf file

I use saslauthd on FreeBSD which works very nicely. The authenticator
looks like this:

######################################################################
#                   AUTHENTICATION CONFIGURATION                     #
######################################################################


# There are no authenticator specifications in this default configuration file.

begin authenticators

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


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


In this way, Exim queries saslauthd when provided with user/pass data
and in turn saslauthd checks the validity of the data against using the
configured method (PAM by default).

--
Jez Hancock
- System Administrator / PHP Developer

http://munk.nu/