Re: [Exim] SMTP AUTH

Top Pagina
Delete this message
Reply to this message
Auteur: Elwood Blues
Datum:  
Aan: Johnson, Michael
CC: 'exim-users@exim.org'
Onderwerp: Re: [Exim] SMTP AUTH
> I would like a user to do the following
> auth with a username: user@??? and that go to
> /etc/virtuallmail/domain.com/passwd to get the authentication information. I
> do not think im far away but the few things I have tryed have not worked.
> Here is my current plain text auth section. Thanks in advance for your help.


Home this helps:

plain:
    driver = plaintext
    public_name = PLAIN
    server_condition = ${if \
      crypteq{$3}{${extract{1}{:}{${lookup{${local_part:$2}}\
      lsearch{/etc/virtuallmail/${domain:$2}/passwd}{$value}fail}}}}{1}{0}}
    server_set_id = $2


login:
    driver = plaintext
    public_name = LOGIN
    server_prompts = "Username:: : Password::"
    server_condition = ${if \
      crypteq{$2}{${extract{1}{:}{${lookup{${local_part:$1}}\
      lsearch{/etc/virtuallmail/${domain:$1}/passwd}{$value}fail}}}}{1}{0}}
    server_set_id = $1