Skip to main content

SSDs, backups and Maibox vs Maildir

Comments

5 comments

  • cPJustinD
    Hello maquinadigital! The mdbox format stores multiple messages in a file and uses a simpler indexing scheme. This format requires fewer files, reduces inode usage significantly, and decreases disk space usage. With that being said, running backups on an SSD with mdbox will likely be much faster than a server using maildir. All in all, SSD with mdbox seems to be the better option than SSD with maildir. I hope that this offers some clarity. Let us know if you have any other questions!
    0
  • maquinadigital
    Hello, performance wise I also think it's better. My concern is the mdbox rotation when a message gets deleted. The 10MB file (10MB being an example) gets re-written even on a 2KB message delete. Not use if that will impact SSD durability. thanks for your feedback
    0
  • HostNoc
    Hi With maildir it could just delete the individual email file(s) but with mdbox you've got -many- messages saved in a single file. The following settings in WHM >> Mailserver Configuration are relevant to the automatic deletion of emails in the Trash folders when using the mdbox format: Auto Expunge Trash Trash Expire Time
    0
  • maquinadigital
    Hi With maildir it could just delete the individual email file(s) but with mdbox you've got -many- messages saved in a single file. The following settings in WHM >> Mailserver Configuration are relevant to the automatic deletion of emails in the Trash folders when using the mdbox format: Auto Expunge Trash Trash Expire Time

    And that is my concern. When rotating, if a 1MB message inside a 10MB MDBOX file was deleted, a new 9MB file is written, thus, "consuming" the expected TBW of the SSD drive.
    0
  • cPJustinD
    Hello again. I can certainly understand the need to reduce the writes to disk; however, I did check with a few colleagues on this, and they agree that mdbox would still be a better choice over maildir. If you do encounter issues with this conversion, however, please open a support ticket so that we can take a closer look and offer further insight or guidance. Let us know if you have any other questions!
    0

Please sign in to leave a comment.