This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 2 and 3
Revision 2 as of 2011-02-01 11:48:19
Size: 938
Editor: 230
Revision 3 as of 2011-02-01 11:48:35
Size: 938
Editor: 230
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
Line 15: Line 16:

After a loooong thread on the dovecot mailinglist,, Timo finally asked this discussion was taken elsewhere and suggested this wiki-page.


As long as mail_fsync is not set to "never", and (local) filesystem should be equally reliable from data loss issues from dovecot usage. This is because dovecot (and most SMTP-servers) will not aknowledge a message as processed before fsync() returns sucessfully. To quote Timo:

"Success isn't returned to dovecot-lda or IMAP APPEND call until the mail has been fsynced. As long as the disk doesn't lie and the filesystem doesn't lie, there is zero data loss when fsyncing isn't disabled with Dovecot."

What about NFS? Cluster filesystems? Running with mail_fsync=never ?


Who need performance ?

= Future ideas = RFC: grouped fsync()

None: FileSystems (last edited 2011-02-02 14:06:16 by 230)