[Dovecot] flock problems with index files and passwd-file

Timo Sirainen tss at iki.fi
Thu Mar 15 13:37:51 EET 2007


On Thu, 2007-03-15 at 12:18 +0100, Michal Soltys wrote:
> While experimenting a bit, I found that for some reason, locking indexes 
> with flock is problematic, but only if user is taken from passwd-file. 
> The host system is openbsd 3.9, dovecot's configuration is added at the 
> bottom.
> 
> Authentication is from two places - first from mentioned passwd-file, 
> then from passwd file using bsdauth (in this case, there're no problems 
> with flock). So, if a user is i.e.:
> 
> test at domain.tld:{plain}test:20000:10::/home/regular/test::userdb_mail=maildir:~/Maildir

It can't be the passwd-file format directly. I'm rather guessing that
OpenBSD doesn't like your UID to be as high as 20000. Try with a lower
one. If it works, it's an OpenBSD bug.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070315/9de24cba/attachment.pgp 


More information about the dovecot mailing list