Robert JR:
[ Charset UTF-8 unsupported, converting... ]
> On 2012-10-26 08:14, Wietse Venema wrote:
>
> > Robert JR:
> >
> >> 1- Dovecot locks /var/mail/user using FCNTL (since a user is
> >> downloading a large mail) 2- Posttix at the same time tries to FCNTL
> >> /var/mail/user .. but it
> >
> > Please show concrete evidence that Postfix performs fcntl BEFORE
> > dotlock, and that it dot-locks the file AFTER fcntl fails.
> >
> > Wietse
>
> So i understand from this that even if "mailbox_delivery_lock = fcntl,
> dotlock" dotlock is always first before FCNTL , and even If I specify
> the ordering for the lock to be "FCNTL, DOTLOCK," postfix will always
> use DOTLOCK first whatever was the order ?
>
> Please confirm that i understood it correctly.. many thanks for your
> very kind support.
According to Postfix source code that was written 13+ years ago,
Postfix applies dotlock before fcntl. As many things in Postfix this
is not yet configurable because of limited programmer resources.
Wietes