[Dovecot] Concurrent dovecot instances on same spool?

Jacek Osiecki joshua at hybrid.pl
Mon Mar 5 19:25:43 EET 2012


On Fri, 2 Mar 2012, Timo Sirainen wrote:

> On Thu, 2012-03-01 at 09:21 +0100, Jacek Osiecki wrote:

>> However, if we have everything redundant, why not have the same with SMTP
>> and POP3/IMAP? But - won't anything fail if two (or more) dovecots are
>> accessing the same disk space, both for IMAP/POP3 and LDA/LMTP?

> If both servers randomly access users' mails, with NFS you'll have some
> trouble, with OCFS2 probably less trouble. But in both cases you'll have
> better performance and no problems if you use Dovecot director in both
> servers (install both director and backend to both servers).
> http://wiki2.dovecot.org/Director

Thanks, I'll probably give it a try. On the other hand, it would be nice 
to have a possibility to allow multiple dovecot instances to access mail 
spool (at cost of handling some extra file/directory locks) - a bit 
slower, but safe...
Another question: as I assume, when you wrote about troubles it was 
applying to IMAP. How about LMTP/LDA? Can anything bad happen when one 
mailbox is being filled by LMTP/LDA from more than one server)?

Greetings,
-- 
Jacek Osiecki joshua at ceti.pl GG:3828944
I don't want something I need. I want something I want.


More information about the dovecot mailing list