Hello. I am creating a qmail-based webmail system(please contact me if
anyone else is working on this too!) and have some questions about
Maildirs. 

I am concerned with running up against file/inode limits with maildirs.
However, I have no real knowledge of the underlying file system to base
this fear on. Can anyone recommend somewhere where I can learn more
about this? Some of my questions: Does the size of the drive affect the
maximum number of files? What are the average practical limits?

Also, I would love to hear any general comments on my design for the
system. I am using Maildirs because the system seems much better in
most respects that the mail spool files. 

However, I still sometimes question my choice. Using Maildirs, I simply
need to scan a directory for files and then put that list up for the
webmail user to choose from. However, it seems I would have to open
each file in the dir to get the header info out. I've considered
updating a central index file as mail arrives but I don't know how well
that would work.

I've also considered just inserting all the mails into a mysql database
when they arrive. Thoughts?

Using the traditional spool file sometimes appears to be the best
option as I can simply open the one file and scan it for headers and
build a index document with the headers and information regarding what
byte offset contains each email.

Well, I don't mean to just pop up on the list and start asking for free
advice, but if anyone is in the mood to talk, I would love to hear any
advice or comments.

Thanks,

Jack

_________________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

Reply via email to