[Exim] How works Exim-4.10 with pwcheck daemon ? This is the…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Stanczak Slawomir
Date:  
À: exim-users
Sujet: [Exim] How works Exim-4.10 with pwcheck daemon ? This is the best auth method ?
Hi !

Recently I was testing different auth methods for Exim 4.10. Please tell
me your opinions about this. System Solaris 8.

1. PAM

- exim run with uid=root gid=mail
- never_users=root option commented

This works ok.

2. Other authenticator

plain:
driver = plaintext
public_name = PLAIN
server_condition = "${if and \
{{!eq{$2}{}}{!eq{$3}{}}{crypteq{$3}{${extract{1}{:}{${lookup{$2}lsearch{/usr/local/etc/exim/exim.pwd}{$value}{*:*}}}}}}}{1}{0}}"
server_set_id = $1

login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if and \
{{!eq{$1}{}}{!eq{$2}{}}{crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/usr/local/etc/exim/exim.pwd}{$value}{*:*}}}}}}}{1}{0}}"
server_set_id = $2

- exim run with uid=mail gid=mail
- users passwords in /usr/local/etc/exim/exim.pwd file whithout system
accounts
- /usr/local/etc/exim/exim.pwd - mail:mail - 400

This works ok too.

3. pwcheck

I compiled my exim with pwcheck. pwcheck daemon is running. How to set
auth sections in exim configuration file for pwcheck method ?
How does it work? Does pwcheck daemon reads passwords from /etc/shadow
or other file ?

Thanks for your opinions.

Slawek