Re: [Exim] smtp auth version 4.0

Pàgina inicial
Delete this message
Reply to this message
Autor: Suresh Ramasubramanian
Data:  
A: Brett Robson, exim-users
Assumpte: Re: [Exim] smtp auth version 4.0
"Brett Robson" <brett@???> (Monday, August 05, 2002 5:37 PM)


>
> But I'm at a total loss with with smtp authentication for local users to
> relay from a MUA. I've compiled with PLAIN and LOCAL but the config file

has
> me beat. I bought the O'Reilly book but ACLs are new for ver 4, I've read
> the online documentation but I'm still lost.
>


All you need are your authenticators ... I use cyrus pwcheck to authenticate
users.

accept  hosts         = +relay_from_hosts


accept authenticated = *

in the main section of your config and ...

begin authenticators

plainns:
     driver = plaintext
     public_name = PLAIN
     server_condition = "${if pwcheck{$2:$3}{1}{0}}"
     server_set_id = $2


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


This has been around since exim 4.03 (I think) when pwcheck auth first
appeared. Now at exim 4.10

    -srs