[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sendmail problems with large mailboxes




> I have encountered a huge drawback of Sendmail (or the default imap daemon
> of RedHat). I use imap to access the e-mail box of mails that are handled by
> Sendmail. Since the mailbox is plain text file and not some kind of database
> it takes a long time to delete or edit messages. For example, for 200MB
> e-mailbox ittakes 5 minutes to delete a simple message !
> 
> How is it possible to solve this problem? Will a better imapd implementation
> will fix the problem? Or is it the end of Sendmail...

To be safe the daemon probably copies the mailbox, and then deletes the
old, and relinks, so it reads and writes 200MB, so on a more or less
current IDE 5400 RPM disk, 5 minutes might be reasonable.
If your users have a large number of messages in their folders, then
maildir might be a better idea than mailbox. I don't know if there is
maildir support for sendmail, but there is for qmail.


-- 
Matan Ziv-Av.                         matan@svgalib.org


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il