[Dovecot] Misbehavior with Dovecot and Mulberry

Timo Sirainen tss at iki.fi
Mon Sep 26 01:48:58 EEST 2005


On 26.9.2005, at 01:36, Jon Roma wrote:

> Sep 25 17:19:25 zippy dovecot: imap(roma): o_stream_sendv() -> EINVAL

OK, so it must be writev() call that's failing.

Have you HAVE_WRITEV and HAVE_STRUCT_IOVEC defined in config.h? If yes, 
try removing HAVE_WRITEV so Dovecot uses write() instead internally. 
Also if you compile and run this, what does it say:

#include <sys/uio.h>
#include <stdio.h>

int main(void)
{
   struct iovec iov;
   printf("%d %d %d\n", sizeof(iov), sizeof(iov.iov_base), 
sizeof(iov.iov_len));
   return 0;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20050926/1454cb4e/PGP.pgp


More information about the dovecot mailing list