Adding new users to a domain wind up in an error. " * smtp: listfile for pam service does not exist" or " * smtp: listfile for pam service does not exist".
Steps to Reproduce
Please provide detailed steps to reproduce the bug. Include any necessary code snippets, commands, or configuration files.
Create or use existing domain.
Add user via User > Manage Users
User accounts will be created, email will be received, but email will not be checked in the edit of details and cannot login.
Returning to the page lists " * imap: listfile for pam service does not exist" for each users.
Expected Behavior
Describe what you expected to happen when the bug occurred.
Expected just to add a user like any time else.
Actual Behavior
Describe what actually happened when the bug occurred.
" * imap: listfile for pam service does not exist" lists for each user.
Trying to track this down.
This is currently affecting the most recent domain added to ApisCP. Adding emails to the respective users will display an error.
Email cannot be enabled under the user Nexus - Users - Manage Users - Edit.
Green check under email will not appear when editing the user.
Ensured the domain’s MX pointed to the server correctly.
Ensured mail is enabled and match the settings of other domains on the server.
Just in case, ran “upcp -sb” and “EditDomain --reconfig --all” to ensure everything is clean.
im experiencing the same thing with a transfersite.php errors out with the same messages, did this ever find a resolution, i should clarify this is on a brand new server with only multi php changed and rspamd enabled with piggyback off spamassassin
Later versions call cpcmd -d DOMAIN user:enrollment USER to determine which services a user has access to. On the source side, it’s reporting imap, pop3, and smtp services as evidenced by the error message:
FAILURE: user_add
Util_Pam::add(): imap: pam service does not exist
Util_Pam::add(): pop3: pam service does not exist
Util_Pam::add(): smtp: pam service does not exist
Line 86
Now, if the source server has mail enabled and target does not (cpcmd scope:set mail.enabled false) - this will also error. In such a case, disable mail on the source domain (EditDomain -c mail,enabled=0) before initiating a transfer.
Transfers are intended to make 1:1 copies of the account. If an account explicitly has mail support, then it must match that behavior on the target server even if that server lacks mail support globally.
okay found the issue the panel was as you said out of date despite selecting edge when running the installer, it was stuck at 3.2.0 i forced the git repo to pick 3.2.45 like the source server and then ran upcp and it looks like its done what it needs to, going to try the transfer now and see
Refer to the commit to determine the current release. Version is based upon when HEAD jumped off from the last tag (release), which on new installs isn’t always known.