On Thu, 30 Oct 2003, Yanik Charbonneau wrote:
> 3 Linux servers serving imap/pop for 50000 (1000 active) users from nfs
> mounted homes.  Using mbox  format.  Is this possible?  Apperently not!

It's supposed to be possible; however, some NFS implementations allow the
buffer cache to get out of sync with the cached version of the inode.

> - Fatal mailbox error ... Unexpected changes to mailbox ...
> - Fatal mailbox error ... Mailbox shrank from ### to ###

This type of error happens when you get cache synchronization problems.

Also, there's something else you should check.  If you use the
/var/spool/mail directory, make sure that it is protected 1777 and not
775.  If it is 775 then imapd can't lock the mail file against mail
delivery.  That'll cause those crashes (and worse) on a regular basis.

Most people do not use NFS as a file store for IMAP.  If you think about
it, it doesn't make any sense to do that; it's using a distributed data
protocol to supply a distributed data protocol with data.

You are better off having the IMAP server run on the computer that hosts
the data, and use a mailbox format (such as mbx) that has better locking
and permits shared write access.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

Reply via email to