[Dovecot] Dovecot 1.0.14 + osx 10.6 and authentication PAM
Maarten Koster
maarten at custodis.cistron.nl
Sun Aug 30 16:33:03 EEST 2009
Howdy,
Today I installed the new version of Apple OSX 10.6. Besides that it
deleted the dovecot user, things went quite smooth. As far as I can tell
it is running as it used to.
However, I can't login to my account. It used to work fine with PAM
taking the username and password from my osx installation. Now it
doesn't allow me to login anymore.
I have read on a website that apple changed from Linux-Pam to Open-Pam.
If this is true, how would I need to change the PAM entry file? Right
now it is as follows:
/etc/pam.d/dovecot:
# dovecot: auth account password session
auth required pam_nologin.so
auth sufficient pam_securityserver.so
auth sufficient pam_unix.so
auth required pam_deny.so
account required pam_permit.so
password required pam_deny.so
session required pam_uwtmp.so
Here is a list with all dovecot processes
Maarten-2:sbin maarten$ ps auxw|grep "dovecot\|imap\|pop3"
maarten 249 1,1 0,0 2435032 528 s000 S+ 3:21pm 0:00.00
grep dovecot\|imap\|pop3
dovecot 218 0,0 0,0 602248 660 ?? S 3:06pm 0:00.08
imap-login
root 215 0,0 0,0 601144 636 ?? S 3:06pm 0:00.08
dovecot-auth
root 214 0,0 0,0 599940 356 ?? Ss 3:06pm 0:00.11
./dovecot
dovecot 238 0,0 0,0 602248 660 ?? S 3:17pm 0:00.03
imap-login
dovecot 221 0,0 0,0 602248 660 ?? S 3:06pm 0:00.08
imap-login
and here is my Dovecot configuration:
# 1.0.14: /opt/etc/dovecot.conf
Warning: mail_extra_groups setting was often used insecurely so it is
now deprecated, use mail_access_groups or mail_privileged_group instead
base_dir: /var/run/dovecot/
protocols: imap
ssl_disable: yes
login_dir: /var/run/dovecot//login
login_executable: /opt/libexec/dovecot/imap-login
mail_extra_groups: mail
mail_access_groups: mail
default_mail_env: maildir:~/Maildir
mail_location: maildir:~/Maildir
auth default:
passdb:
driver: pam
userdb:
driver: passwd
Thanks in advance,
Maarten
More information about the dovecot
mailing list