------- Comment #3 from steve@??? 2007-02-28 10:20 -------
OK, I've tried lots of fflush()es and it makes no difference.
I've attached a patch for dovecot.c with both buffered I/O and a version with
fully unbuffered I/O (always the best way to go with sockets IMHO) which can be
switched by defining "BUFFERED_IO" at compile time.