Multiple servers and NFS

Daniel Parthey kabelpada at kabelmail.de
Mon Jul 28 23:59:17 UTC 2014


Nick Edwards wrote:
> On 7/26/14, Robert Schetterer <rs at sys4.de> wrote:
> > Am 25.07.2014 um 16:12 schrieb Eduardo Ramos:
> >> I did not understand what the advantage of use dovecot LMTP with
> >> director too.
> >
> > in "very short" words...
> > with nfs ,the director should avoid concurrent events
> > which may happen with lmtp too, depending to multiple server setup
> 
> using director was considered in risk assessment as its another point
> of failure, and weighed against its claimed benefit, the decision was
> made its not justified.
> 
> mail_location = maildir:/mail/%1n/%1.1n/%2.1n/%n/Maildir:INDEX=MEMORY

With maildir you won't have data-loss without the director,
since the index files are auto-regenerated without any problem.

With mdbox on NFS and no director, you will have data-loss sooner or later:

http://wiki2.dovecot.org/MailboxFormat/dbox

<cite>
One of the main reasons for dbox's high performance is that it uses Dovecot's
index files as the only storage for message flags and keywords, so the indexes
don't have to be "synchronized". Dovecot trusts that they're always up-to-date
(unless it sees that something is clearly broken). This also means that you
must not lose the dbox index files, they can't be regenerated without data
loss.
</cite>

Regards
Daniel


More information about the dovecot mailing list