Zero byte appends

Michael Menge michael.menge at
Fri Jul 16 09:22:38 EDT 2010

Quoting Bron Gondwana <brong at>:

> Can anyone think of any good reason we should allow zero byte
> files to be appended via IMAP?  Just that I'm currently going
> over the reconstruct code - and that's one of the few places
> where it actually changes things.

Some applications (e.g. Kolab) store other objects than Mail (e.g.  
Addressbooks, Calendar, Tasks or Notes) in IMAP folders. They might
create empty objects for some reason.

> Reconstruct will always unlink a zero byte file and remove the
> record - but IMAP APPEND will actually create one.  We should
> align the behaviour one way or the other!
> Bron.

M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung          mail:  
michael.menge at
Wächterstraße 76
72074 Tübingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5339 bytes
Desc: S/MIME Cryptographic Signature
Url : 

More information about the Cyrus-devel mailing list