How to change the default location of mailboxes in Plesk for Linux

Follow

Comments

36 comments

  • Avatar
    New Look Media

    Emilio Ortiz I have the exact same errors as you when performing a migration, and believe it is related to the capitalization of letters on my drive.

    I also get the following error when trying to access any email accounts within plesk.

    mailmng-mailname failed: Unable to open dir /mnt/mailstorage/qmail/mailnames/mydomain.com/jeff/@attachments: No such file or directory System error 2: No such file or directory

    The path should be /mnt/MailStorage/ not /mnt/mailstorage/

    I have also double-checked psa.conf and it looks like this:

    PLESK_MAILNAMES_D /mnt/MailStorage/qmail/mailnames

    Anyone have additional advice??

    0
    Comment actions Permalink
  • Avatar
    Anton Maslov

    Hi New Look Media - our recommendation is to rename mount folder to lower case.

    0
    Comment actions Permalink
  • Avatar
    Paolo Gabrielli

    Gentlemen,
    I followed the guide, and everything worked without problems. But then I added a new account, and that account doesn't receive emails at all, while it can send.

    Friday I got those two errors
    Sep 11 17:30:25 server mailmng[21458]: Unable to get default delivery transport string from /var/qmail/mailnames/.default_delivery
    Sep 11 17:30:25 server mailmng[21458]: Unable to add delivery string to '/mnt/mail/qmail/mailnames/example.com/surname.n/.qmail'

    but today no errors at all. And trying a "plesk repair mail" (or a reboot) doesn't help.

    Thanks.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Paolo Gabrielli

    Most probably required entries or the file /var/qmail/mailnames/.default_delivery is missing.

    As I can see, the issue is currently investigated in the ticket.

    0
    Comment actions Permalink
  • Avatar
    Dennis Rahmen (Edited )

    "To avoid performance degradation, the new location for the mailboxes directory should be located in the local file system - it should not be mounted as a network share, such as NFS"

    Is this still the case? Also does it improve anything when I am using EXT4 on SSDs?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Dennis Rahmen

    I would say it depends on the quality (speed/bandwidth) of connections to the network share, first of all.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request