[Dovecot] little submissions feature request
Hi!
I'm using dovecot for a while now and really like it. Actually dovecot 1.5 on Debian AMD64.
Now I have to use a cifs mounted maildir directory and found it to be quite slow, though I already tuned it a lot. The only way to get it fast was to put INDEX and CONTROL files on the local disc and so outside of the maildirs. Performance is great but the problem is with submissions to maildirs.
When a CONTROL directive is given, dovecot writes the submissions file to this directory too. Now as I have two dovecots in a loadbalancer my users have to do their modifications to their subscriptions always twice (for each server in the loadbalancer). I now modified dovecot on my own to put the submissions file into the Maildir, everything else is unchanged. This works just great and as desired.
Anything I missed in my setup, locking issues, ...?
Otherwise it may worth adding a switch for this? A directive like INDEX, CONTROL... :SUBMISSSIONS=path...
Regards, Corin
On Wed, 2007-11-28 at 11:18 +0100, Netskin | Corin Langosch wrote:
Now I have to use a cifs mounted maildir directory and found it to be quite slow, though I already tuned it a lot. The only way to get it fast was to put INDEX and CONTROL files on the local disc and so outside of the maildirs. Performance is great but the problem is with submissions to maildirs.
When a CONTROL directive is given, dovecot writes the submissions file to this directory too. Now as I have two dovecots in a loadbalancer my users have to do their modifications to their subscriptions always twice (for each server in the loadbalancer).
Control directory must be shared. Otherwise you'll end up breaking IMAP clients' local caches and causing all kinds of problems, because message UIDs keep changing.
participants (2)
-
Netskin | Corin Langosch
-
Timo Sirainen