Either there's a bit stranger bug
It appears to be related to the readdir()-returns-EINVAL issue.
Fixing that stopped the assertion from failing.
There is still lots of "noise" in the log though. The attached perl
script just sends and retrieves mail over and over:
$ ./dere.pl --iterations 1000 --sendfor 3 --server mailhost.my.domain
--sender a@b.c --username user1 --password test
[...]
Pid 24307 iteration 74 at Wed Jul 8 08:17:38 2009
Sent 738 message(s)
INBOX contains 698 message(s)
Pid 24307 iteration 75 at Wed Jul 8 08:17:48 2009 Sent 626 message(s) INBOX contains 725 message(s)
When run against a Mac OS X server with dovecot-1.1.16 and dovecot's
deliver via postfix, there are lots of errors and warnings. See the
attached log. Are these normal?
Thanks.