LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Differences? mbox vs maildir (https://www.linuxquestions.org/questions/linux-general-1/differences-mbox-vs-maildir-43288/)

MasterC 01-29-2003 07:39 PM

Differences? mbox vs maildir
 
What is the difference between a Mail Box (mbox) and a Mail Directory (maildir)?

I have both options in Kmail. I've heard that one if them was created by KDE. If this is true, why? Does their version have better compression, more portability, or easier to understand?

Any thoughts?

Cool

nxny 01-29-2003 09:59 PM

They are the 2 formats that *nix systems use to store user mail.

If your MTA is /bin/sendmail, your mail is stored by default in /var/spool/mail/masterc in the ubiquitous mailbox format. When Dan J Bernstein (aka djb ) got tired of the security vulnerabilities that constantly battered the sendmail daemon, he wrote an entirely new MTA called qmail. Since he wasnt too happy with the reliability of NFS over which /var/spool is usually mounted, he designed a new Maildir format to go with Qmail. More info on the advantages of maildir can be found here.

But since Kmail looks like an MUA, it has to live with your existing storage format since all it is is a user interface to the mail storage area that is predefined by your MTA/MDA. If your daemon isnt Qmail, you should probably choose mbox.

MasterC 01-29-2003 10:05 PM

Cool, THANK YOU! Nice response, and thank you for the links. :)

Cool

nxny 01-31-2003 03:44 AM

You are very welcome, MasterC. One of those links is an online copy of the README files that accompanies the Qmail source. Qmail is a very interesting mailserver suite indeed.


All times are GMT -5. The time now is 02:48 PM.