Re: POSIX violation by writeback error

From: Martin Steigerwald
Date: Wed Sep 05 2018 - 03:40:02 EST


Rogier Wolff - 05.09.18, 09:08:
> So when a mail queuer puts mail the mailq files and the mail processor
> can get them out of there intact, nobody is going to notice. (I know
> mail queuers should call fsync and report errors when that fails, but
> there are bound to be applications where calling fsync is not
> appropriate (*))

AFAIK at least Postfix MDA only reports mail as being accepted over SMTP
once fsync() on the mail file completed successfully. And I´d expect
every sensible MDA to do this. I don´t know how Dovecot MDA which I
currently use for sieve support does this tough.

--
Martin