On 28.06.19 21:22, Ian Zimmerman wrote: > I happen to know that procmail tries to lock the file in _all_ the ways > available on the system, for instance on Linux with a dotlock temporary > file, with flock, and with fcntl. This is a bit overkill but it means > procmail is safe to use as long as the other program accessing the > mailbox uses any locking at all.
And nine years ago, on 09.08.10 15:37, Michael Elkins wrote: > On Mon, Aug 09, 2010 at 11:26:07PM +0100, Chris G wrote: > > ....+USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK.... > > > > but does that mean that to co-operate with mutt another process *has* > > to use dotlock and fcntl? ... and, if so, what order should one do > > things in? > > dotlock first, then fcntl. realize that these are just advisory locks, > which means other processes might not obey them. mutt is conservative and > uses multiple methods since there is no standard. > > me So, looking from the other side also, it appears that both are respected. Erik