- Plesk for Linux
Default mailbox location was changed as per the article: How to change the default location of mailboxes in Plesk for Linux.
When navigating to Domains > example.com > Mail Accounts > firstname.lastname@example.org the following error is displayed:
CONFIG_TEXT: Server Error
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
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
According to Plesk's business logic, it is not possible to use capital letters in the PLESK_MAILNAMES_D.
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). Make sure to use only lower case letters in paths.