I do not have 'mail_safe_crlf' set -- my configuration changes very few of the defaults, and uses the default 'no' for this setting.
I don't have gcc/gdb on the box in question, but I will try the patch later today and will report further. The problem is at least easy to reproduce!
Thanks.
Timo Sirainen tss@iki.fi wrote:
On Sun, 2005-09-18 at 14:07 -0500, Jon Roma wrote:
Sep 18 13:10:44 zippy dovecot: IMAP(roma): o_stream_send_istrea (/var/imap/dovecot/roma/.Sent/tmp/1127067044.P44216Q3.zippy.cso.uiuc. edu ) failed: Invalid argument
This is actually what I was hoping to see instead. Do you have HAVE_FREEBSD_SENDFILE, HAVE_LINUX_SENDFILE or HAVE_SOLARIS_SENDFILE defined in config.h?
None of these are defined (the server is running AIX 5).
If you have any ideas, I'm more than happy to turn on debugging in Mulberry again.
Well, that doesn't help since this problem is internal to Dovecot. I just can't figure out why it would happen. Do you have mail_save_crlf=yes?
Can you run gdb? Or could you try the attached patch and see what it prints to logs when this error happens?