RE: [Exim] SMTP authentication

Góra strony
Delete this message
Reply to this message
Autor: Steve Drees
Data:  
Dla: Johannes M. Posel, exim-users
Temat: RE: [Exim] SMTP authentication
> How would one authenticate against the shadow password database? That
> is something I'm trying to get up&runnin for a while now, but it won't
> work. I hoped that the Exim book could answer this, but no luck ;) Or,
> if it is easier, what would I enter in the server_condition if I
> wanted to check against a plain text file, I think it is done via
> "lsearch" then, with such a format:



this is what I use on RHL 7.2 w/ exim 3.33


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


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