LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-29-2003, 07:39 PM   #1
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Question 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
 
Old 01-29-2003, 09:59 PM   #2
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
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.
 
Old 01-29-2003, 10:05 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 64
Cool, THANK YOU! Nice response, and thank you for the links.

Cool
 
Old 01-31-2003, 03:44 AM   #4
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to know if I am using mbox-style or maildir-style? Niceman2005 Linux - General 1 09-23-2005 12:08 PM
popa3d and Maildir or mbox sulee Slackware 4 07-25-2005 08:45 AM
maildir and mbox deflin39 Linux - Newbie 1 01-07-2004 10:08 PM
Convert Maildir to Mbox leonardox Linux - Software 2 09-26-2003 11:23 PM
mbox format raven Programming 0 02-16-2002 06:10 AM


All times are GMT -5. The time now is 06:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration