Applicable to:
- Plesk for Linux
Symptoms
-
Default mailbox location was changed as per the article.
-
When navigating to Domains > example.com > Mail Accounts > j_doe@example.com the following error is displayed:
CONFIG_TEXT: Server Error
500 PleskUtilException
mailmng-mailname failed: Unable to open dir /new/MailDir/example.com/j_doe/@attachments: No such file or directory System error 2: No such file or directory -
A new mailbox can not be created at Domains > example.com > Mail Accounts > Created Email Address with the following error:
PLESK_ERROR: Error: mailmng-core failed: unable to change to mbox folder /new/MailDir/example.com/jane_doe: No such file or directory
System error 2: No such file or directory
Fatal error: plesk::mail::FSError(unable to remove quota: No such file or directory: "/new/MailDir/example.com/jane_doe")
Search for related Knowledge Base articles
Cause
A new directory to store mailboxes contain capital letters and this directory name was used accordingly in all configuration files, for example:
# grep PLESK_MAILNAMES_D /etc/psa/psa.conf
PLESK_MAILNAMES_D /new/MailDir
According to Plesk's business logic, it is not possible to use capital letters in the PLESK_MAILNAMES_D.
Resolution
-
Connect to the server via SSH.
-
Rename the folder used as a new mailbox location using only lower case letters via the command below:
# mv /new/MailDir /new/maildir
Note: In case a new path is on a mounted device, re-mount it once again using only lower-case letters in the name.
-
Re-apply the steps from the article once again using the new maildir path (
/new/maildir
instead of/new/MailDir
). Make sure to use only lower case letters in paths.
Comments
0 comments
Please sign in to leave a comment.