PDA

View Full Version : How Maildir works?


gglusgold
06-29-2005, 10:15 AM
Anybody know How Maildir format works? I am retrieving multiple mail's messages combined into one. I toke a look at home\user\Maildir\new folder, and I saw a Unique filename named Mailbox containing several messages. Is it working fine? or it should exist one file per Message in home\user\Maildir\new ?

I will apreciate any help.

Thanks in advance

Martin Hauptmann
07-03-2005, 05:03 AM
http://en.wikipedia.org/wiki/Maildir says: Maildir is a format for an e-mail spool that does not require file locking to maintain message integrity, because the messages are kept in separate files.

http://www.qmail.org/qmail-manual-html/man5/maildir.html says: Each file in new is a newly delivered mail message.

And easiest source for information is man maildir:

MESSAGES
E-mail messages are stored in separate, individual files, one E-mail message per file. MESSAGES E-mail messages are stored in separate, individual files, one E-mail message per file.

HTH

Matin

gglusgold
07-06-2005, 09:54 AM
Thanks for this tips.

Then, I think I Have a Maildir/Mailbox problem (I am trying to use Maildir format)

Messajes are joined into ONLY one file named 'Mailbox' into /home/~user/Maildir/New

when a pop client download messages, only recive one message with one or more message into it.

Is there a way to know wich happens? I could send to you configuration scripts if necesary but be aware that I dont know so much about qmail.

I think the services that are running are: pop3d, qmail-send, qmail-smtpd

EqUaTe
07-08-2005, 09:52 PM
Well, if that's happening, you're not using qmail.
This means you likely still have exim or similar installed - qmail uses maildirs, not mbox.