[Dovecot] Spaces removed from subjects in FETCH response

Timo Sirainen tss at iki.fi
Wed Oct 6 18:58:25 EEST 2004

On 6.10.2004, at 17:58, Kenneth Porter wrote:

> It looks like dovecot- is frustrating this by  
> stripping the excess spaces from the subject before reporting it in  
> FETCH responses. Here's an actual subject line:

Yes, and I think other servers do this as well. See the "Envelope  
mangling" thread in:


and "the official conclusion":


I still don't think it's necessarily such a good idea, but I'd rather  
not break it on purpose. You could anyway fix it by changing sources:

Bottom of lib-imap/imap-quote.c :

	imap_quote_append(str, value, value_len, TRUE);

change TRUE to FALSE.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20041006/6e00ce93/attachment-0001.bin>

More information about the dovecot mailing list