• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Email limit problem due to ext3

S

sdunga

Guest
Hi,

I have a tricky problem to solve, I have a client that created 32.000 email accounts under a domain, the problem is that qmail, as a maildir server, creates a folder with the domain name, and one subfolder for each email account.

Systems using FS type ext3 are limited to 32000 subfolders for a single directory, due to performance problems over that value.

For existing accounts we were able to figure out a way to workarounf this problem, changing the email storage folder ordered alphabetacly like:
/var/qmail/mailname/domain.com/a/aemail1
/var/qmail/mailname/domain.com/a/aemail2
/var/qmail/mailname/domain.com/b/bemail1
/var/qmail/mailname/domain.com/b/bemail2

To override the default rule we will edit /var/qmail/users/assign to fit this new folder structure.

My problem now is how to change the template of new email account to be stored as the others, as plesk continues to create folders like:
/var/qmail/mailname/domain.com/email

Does some one now where plesk gets the template?
 
Back
Top