What is Maildir and mbox
HI,
Can anyone please explain what is maildir and mbox, I found these term while reading about Exim MTA. Thanks |
an mbox is normally a single file, e.g. /var/spool/mail/bob where all emails are listed in a big file. Maildirs are folders of emails, normally /home/bob/Mail which contain a file for each seperate email, and sub folders for new, old emails etc... Maildirs were introduced to allow more flexibility in email file locking and such.
|
Hi,
thanks for info,Just need some help, understanding concepts. As I was playing with exim, I have successfully install it on my pc, but cannot figure it out how I got those mail delivered ... I try to send email through exim itself exim sumit@localhost and it says mail sent, and I got it in /home/sumit/mail/new folder now how can I access thsi mail through say outlook on windows? Thanks |
you need an imap or pop3 server
|
Hi,
Thanks for your help, I found courier to solve this... let me try that one if it works for me. Though just one quick question. which one is better Maildir or mbox as I need to handle Emails for different domains from single PC using virtual aliases etc... Thanks |
qmail is a huge champion of Maildir's and a further extension of them. They are a more structured way to handle and store mail, but in line, more complicated. i'd check the qmail literature to get some comprehensive arguments in their favour. note that certain smtp and imap/pop3 servers favour (or only work with) certain mail types. for example i believe that sendmail will only work with Maildirs with an unofficial patch. may well be wrong.
|
Since mbox is one large file, it might become useless when corrupted. I am also not sure what happens to this huge file when you delete mails. Possibly you have to compact the file periodically (like in Outlook Express). Also might suffer performance degradation when using one huge file.
I prefer maildir format. I run an IMAP server and store the mail in maildir format. Usually three or four mail clients access the mail simultanously. Never had a problem. jlinkels |
Quote:
|
Hi,
Thanks for this relevant information ...Please check my other question if you have any idea :) Thanks |
Quote:
jlinkels |
Quote:
|
HI,
sorry was out of office so late in replying, yes having all data in single file is slow process, as usual, but I wonder even if you have few thousand mails than your File system must be able to support that many Files in one folder to my knowledge a folder can have like 32K files only, than if a user (suppose a gamil type of account) have so many mails than doesn't that limit comes in effect ?? I have a like 3K files in my inbox for now :D |
All times are GMT -5. The time now is 05:34 PM. |