The bug http://bugs.gentoo.org/291290 is still not fixed. It is reproducible in at least dovecot-1.2.11-r1 (which is the current stable one). The symptoms are all the same as in the bug 291290. /var/log/maillog spits an error: Aug 2 16:33:54 dovecot: auth-worker(default): pam(user1,x.x.x.x): pam_authenticate() failed: Authentication failure (/etc/pam.d/sieve missing?) I checked all the other ebuilds in the tree and all of them create /etc/pam.d/managesieve instead of /etc/pam.d/sieve during installation. Reproducible: Always Steps to Reproduce: 1. Install net-mail/dovecot-1.2.11-r1 and configure managesieve protocol 2. Try to connect to managesieve Actual Results: /etc/pam.d/sieve symlink is not present, /etc/pam.d/managesieve is created during installation instead. Expected Results: /etc/pam.d/sieve is created instead of /etc/pam.d/managesieve
Dovecot changed the protocol name from "managesieve" to "sieve" which was a bad idea. It causes too much confusion. Please see the patch below: --- dovecot-1.2.13.ebuild 2010-07-26 23:21:59.000000000 +0000 +++ dovecot-1.2.13-r1.ebuild 2010-08-04 09:25:30.000000000 +0000 @@ -177,7 +177,7 @@ sed -i -e '/passdb pam/, /^[ \t]*}/ s|#args = dovecot|args = "\*"|' \ "${conf}" || die "failed to update PAM settings in dovecot.conf" # mailbase does not provide a managesieve pam file - use managesieve && dosym imap /etc/pam.d/managesieve + use managesieve && dosym imap /etc/pam.d/sieve fi # Listen on ipv6 and ipv4
in 1.2.13-r1