[Dovecot] Authenticate user thru PAM
my mailsystem is using postfix and virtual mailbox which stored in mysql db. SMTP AUTH is using PAM, pam-mysql to authenticate against a mysql db.
I installed dovecot 0.99-14. In the dovecot example config file it mentioned that auth_passdb can check against thru PAM but auth_userdb didn't
Does it mean that auth_userdb should use other means e.g. /etc/passwd, shadow, vpopmail, etc and in my case it is mysql. Right ?
On Sat, 2005-08-27 at 10:50 +0800, Adrian Mak wrote:
my mailsystem is using postfix and virtual mailbox which stored in mysql db. SMTP AUTH is using PAM, pam-mysql to authenticate against a mysql db.
I installed dovecot 0.99-14. In the dovecot example config file it mentioned that auth_passdb can check against thru PAM but auth_userdb didn't
Yes, because PAM doesn't know anything about home directories and such.
Does it mean that auth_userdb should use other means e.g. /etc/passwd,
Right.
shadow,
No. Shadow file only contains passwords.
vpopmail, etc and in my case it is mysql. Right ?
Right.
participants (2)
-
Adrian Mak
-
Timo Sirainen