I'm migrating our mailserver from cyrus 2.0 to Postfix and Dovecot. We're using maildirs delivered to /var/maildir, which is mounted via NFS from a Netapp. My understanding was that maildir was completely happy in an NFS environment but I've seen a couple messages here recently which mention the dovecot index files not being NFS safe. Are their any caveats or gotcha's that I need to be aware of? Thanks, Adam.
> I'm migrating our mailserver from cyrus 2.0 to Postfix and Dovecot. > > We're using maildirs delivered to /var/maildir, which is mounted via > NFS from a Netapp. My understanding was that maildir was completely > happy in an NFS environment but I've seen a couple messages here > recently which mention the dovecot index files not being NFS safe. > > Are their any caveats or gotcha's that I need to be aware of?You'll probably want to keep them in memory or on local disk. See <http://dovecot.procontrol.fi/doc/nfs.txt> for more information - default_mail_env needs either ":INDEX=/local/path/to/indexes/%u" or ":INDEX=MEMORY", all machines accessing the mailstore should have sync'd clocks, and all imap servers need separate hostnames. --Stu
On Fri, 25 Jul 2003 15:11:17 +1200 Adam Shand <adam at personaltelco.net> wrote:> I'm migrating our mailserver from cyrus 2.0 to Postfix and Dovecot. > > We're using maildirs delivered to /var/maildir, which is mounted via > NFS from a Netapp. My understanding was that maildir was completely > happy in an NFS environment but I've seen a couple messages here > recently which mention the dovecot index files not being NFS safe. > > Are their any caveats or gotcha's that I need to be aware of?Well, Postfix delivering to Maildir mailboxes is a matter that Wietse isn't particularly fond of. Make sure your mount options are correct in that they provide synchronous link() and rename() semantics. -- Matthias Andree