[Dovecot] Authenticate user thru PAM

Timo Sirainen tss at iki.fi
Sun Aug 28 22:37:43 EEST 2005

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,


> shadow, 

No. Shadow file only contains passwords.

> vpopmail, etc and in my case it is mysql. Right ?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20050828/36ba89e6/attachment.pgp

More information about the dovecot mailing list