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 ?
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 > > 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 ?Yes, at least in 1.0-alpha1/stable, so I guess the same for 0.99. Dovecot can authenticate via mysql directly, of course (but I've never done it, so don't ask me how!) Chris -- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin at reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
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'tYes, 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc 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.bin>