vpopmail ebuilds use /var/vpopmail just as a default. It is possible to change vpopmail directory changing the home directory of 'vpopmail' user before emerging vpopmail. courier-authlib looks for /var/vpopmail/etc/lib_deps to see if authvchkpw is needed, so it will fail to detect vpopmail if it is installed anywhere else. To solve this just change '/var/vpopmail/etc/lib_deps' to '~vpopmail/etc/lib_deps' in courier-authlib ebuilds. Or, better, check if net-mail/vpopmail is installed. Reproducible: Always Steps to Reproduce: 1. change vpopmail home directory 2. emerge vpopmail 3. emerge courier-authlib Actual Results: authvchkpw was not included, authentication of imap/pop3 users against vpopmail is broken. Expected Results: authvchkpw should be included Solution really easy and fast, see Details.
now goes by if vpopmail is installed by portage