[Dovecot] Patch: support URLAUTH, BURL, CATENATE

Timo Sirainen tss at iki.fi
Tue Apr 13 11:20:16 EEST 2010


Oh and BTW:

> /* The mailbox_save() API pulls data from an istream, and the
>    imap_fetch() API pushes data into an ostream.  Dovecot does
>    not offer an ostream which feeds an istream, so use a UNIX
>    pipe.  That's not the most efficient way to move the data
>    around, but dovecot's ostreams and istreams are sufficiently
>    complex (read: under-documented) that it's easier to use a
>    pipe than to write an ostream-to-istream module.  Somebody
>    call a plumber. */

It shouldn't be necessary to write ostream-to-istream module. Instead
pass a concat-istream to mailbox_save() and add more istreams to it as
needed (this would need a new i_stream_concat_add_input() or something,
but that shouldn't be difficult). As a bonus no need to copy data
around. :)

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


More information about the dovecot mailing list