Hello, as our mail server load increases every day, I plan to scale the single mailserver in differnt units: 1x big storage server for all mailboxes, folders exported through NFS 1x smtp for mail-in (queue local, messages on storage server) 1x pop3/imap to retrieve the messages (config local, messages on storage server) Since we're using maildir only, there's no problem to get the messages into the mailboxes. But what about dovecot for retrieving them? NFS will be v3. Is locking still a problem with it? Might the indexes get corrupt? Regards Marten
On Sat, 2005-05-14 at 17:33 +0200, Marten Lehmann wrote:> Since we're using maildir only, there's no problem to get the messages > into the mailboxes. But what about dovecot for retrieving them? NFS will > be v3. Is locking still a problem with it?I don't know how well locking works with NFS in general (badly I've heard), but Dovecot doesn't require fcntl locking anymore. Setting "lock_method = dotlock" will just use dotlock files.> Might the indexes get corrupt?1.0-test70 should work pretty well with indexes being located in shared filesystems as long as you set mmap_disable=yes. NFS has one annoying problem though. It can't handle the cases when a file is deleted (or another file is renamed over it), and a process still tries to read the file. Dovecot doesn't yet handle all these error cases so you might see some errors about stale file handles from time to time. But if you're using Dovecot in only one computer you can just store indexes in local disk and you won't have any problems. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050514/fe3bc0a6/attachment-0001.bin>