The packages courier-imap and qpopper collide in /etc/pam.d/pop3. The version from qpopper is broken because it uses pam_pwdb.so. The version from courier-imap works fine. Reproducible: Always Steps to Reproduce: 1. install and use qpopper - this does not work because it uses pam_pwdb.so which does not exist 2. emerge courier-imap, /etc/pam.d/pop3 is usable, qpopper starts to work 3. re-emerge qpopper, /etc/pam.d/pop3 is messed up again 4. re-emerge courier-imap, qpopper works again Actual Results:
emerge sys-libs/pam with "pwdb" useflag will install pam_pwdb.so # emerge pam -vp ... [ebuild R ] sys-libs/pam-0.77-r1 +berkdb -debug +pwdb (-selinux) 0 kB ... # qpkg -l pam | grep pam_pwdb.so /lib/security/pam_pwdb.so If you don't want to use pam's pwdb then modify your /etc/pam.d/pop3 to suit yourself. http://www.linuxdocs.org/HOWTOs/User-Authentication-HOWTO/x101.html