Thanks for the reply, Timo! So just to double-check/clarify...
On 7 Mar 2007, at 13:08, Timo Sirainen wrote:
On Wed, 2007-03-07 at 12:15 +0000, Mike Brudenell wrote:
But is the same true for control files? Or do they need to be preserved and made available to any server the user may come in through?
Control files are important. If you delete them the messages will get new UIDs which causes client to download them again. That's especially bad with POP3 if client is configured to leave the messages to server.
OK, so as we want to use file system quotas that sounds as if I need
this setup:
Maildirs stored in one NFS-mounted directory tree with quotas
enabled.Control files stored in another NFS-mounted directory tree *WITHOUT* quotas enabled, as per http://wiki.dovecot.org/Quota/FS
??? Then NFS-mount this one area on all of the load-balanced IMAP
servers?
(I'm assuming potentially several instances of Dovecot running on
on different server machines will handle this OK over NFS?)
- Index files stored in directory tree on locally attached disk. (And a cron job to clean old ones out periodically.)
With regard to mount options for the above:
Needs no special NFS-mount options.
Does this need any special mount options? (eg, "actimeo=0" as for index file on NFS?)
If this had been on NFS-mounted filestore I'd have needed the "actimeo=0" mount option and to use "mmap_disable = yes". But for locally attached disk I don't need to use either of these.
With many thanks, Mike B-)
-- The Computing Service, University of York, Heslington, York Yo10 5DD, UK Tel:+44-1904-433811 FAX:+44-1904-433740
- Unsolicited commercial e-mail is NOT welcome at this e-mail address. *