[Dovecot] Newbie questions: Load-balanced Dovecot with NFS storage
Mike Brudenell
pmb1 at york.ac.uk
Wed Mar 7 16:31:17 EET 2007
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:
1. Maildirs stored in one NFS-mounted directory tree with quotas
enabled.
2. 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?)
3. 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:
1. Needs no special NFS-mount options.
2. Does this need any special mount options? (eg, "actimeo=0" as for
index file on NFS?)
3. 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. *
More information about the dovecot
mailing list