[Dovecot] Dovecot Antispam plugin

Timo Sirainen tss at iki.fi
Mon Jun 15 22:15:28 EEST 2009


On Mon, 2009-06-15 at 21:11 +0200, Johannes Berg wrote:
> > The problem is that the istream API doesn't work the way you expect.
> > Just reading doesn't advance the stream, only calling i_stream_skip() or
> > i_stream_seek() does that (and o_stream_send_istream() internally). So
> > just remove the o_stream_send(beginning) call and it'll work.
> 
> Aha! I knew I was missing something, thanks. Does
> i_stream_read_next_line() skip over the line?

Yes, that too. :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090615/6659dab2/attachment.bin 


More information about the dovecot mailing list