11 Jun
2010
11 Jun
'10
5:20 p.m.
On to, 2010-06-10 at 00:02 -0500, Mike Abbott wrote:
When my dovecot-2.0.beta5 auth module logs a 552-byte debug message, the message is split into two lines and also a null error message: Wed Jun 9 23:44:29 gromit dovecot[58892]: auth: Error:
I think this has to do with the use of PIPE_BUF (512) sized buffers in the logging code, and the !line_is_ok() case in i_failure_parse_line().
Related to PIPE_BUF, yes, but problem was in the sending part. Fixed: http://hg.dovecot.org/dovecot-2.0/rev/5ede18fe35fa
BTW. Is OSX's PIPE_BUF really only 512 bytes (instead of just the #define being set too low)? In Linux it's 4096.