26 Sep
2005
26 Sep
'05
1:48 a.m.
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
int main(void) { struct iovec iov; printf("%d %d %d\n", sizeof(iov), sizeof(iov.iov_base), sizeof(iov.iov_len)); return 0; }