emerge of vm-pop3d-1.1.6 proceeds smoothly but fails to install the supplied vm-pop3d.pamd config file in /etc/pam.d/vm-pop3d. This results in an; -ERR Bad login response from the server when clients connect as real (i.e. those listed in /etc/passwd, non-virtual) mail users. Reproducible: Always Steps to Reproduce: 1. emerge vm-pop3d 2. /etc/init.d/vm-pop3d start 3. telnet localhost 110 4. user <username> 5. pass <plain text password> Actual Results: Server responds with; -ERR Bad login Expected Results: Server should have replied with; +OK opened mailbox for <username> The solution is to copy vm-pop3d.pamd from the source archive into /etc/pam.d/vm-pop3d
Created attachment 25316 [details] vm-pop3d.pamd for inclusion in vm-pop3d/files Seems the suplied vm-pop3d.pamd uses the deprecated /lib/security/pam_pwdb.so. Here's an updated version using /lib/security/pam_unix.so. I suggest adding it to the portage tree.
Created attachment 25317 [details] Updated ebuild to take care of installing vm-pop3d.pamd Here's an updated ebuild (I added the -r1 though it may not warrant that) to handle installation of the attached vm-pop3d.pamd in /etc/pam.d.
Any body interrested in this bug? I noticed on a new install that the ebuild has been modified, but this bug persists... <nudge>.
Fixed in CVS. Thanks Ferdy