The gentoo virtual mail howto has a couple of shortcomings and the locations of configurations files have changed in the new courier packages. I have also found that by changing smtp authentication a bit without messing around with pam seems to be simple and easier for new people doing this. I will list my recommendations and requirements properly below: 1) Courier's configuration locations changed, as the courier-authlib and courier-imap packages are now separate 2) Previously I have already posted a patch that fixed the double-authentication issue and removed any need for imap and pop3 pam configurations. Why don't we let sasl authenticate against our courier imap? This keeps pam's configurations untouched (which pam also complains about when re-emerging), it is less configuration, less places that we are putting our mysql connection details on the server and lessens the margin for error as well and on top of everything it is much easier for users to do/configure. This can easily be done by using cyrus-sasl's rimap option Reproducible: Always Steps to Reproduce:
Created attachment 59729 [details, diff] Proposed patch I have created a proposed patch that addressess these issues!
Could you please post the patch by doing a diff -Nut oldfile patched file > changes.patch? Thanks!
Created attachment 59997 [details, diff] Proposed patch proper this time Sorry about that, forgot I just did a diff! Here's the patch as you wanted
Ah, I'm very glad that the pam_mysql stuff is removed now. Patch committed.