[imp] [horde] line breaks?
Jens-U. Mozdzen
jmozdzen at nde.ag
Mon Feb 4 17:18:41 UTC 2013
Hi Michael,
Zitat von Michael M Slusarz <slusarz at horde.org>
> [...]
> I can't reproduce this either.
thanks to your earlier pointer, I could start debugging this. Evidence
is pointing at the IMAP server as the root cause.
The short version is: To re-flow the lines, they need to end with
blanks. In case of pure ASCII, this works, but the umlaut version is
different.
While the backend storage on the IMAP server has the appropriate
blanks included:
--- cut here: file in "vi" with "set list" option ---
X-IMP-Draft: Yes$
Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes$
MIME-Version: 1.0$
Content-Disposition: inline$
Content-Transfer-Encoding: quoted-printable$
$
$
abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=$
=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC $
abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=$
=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC$
$
abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=$
=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC $
abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=$
=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC abcd=C3=BC$
--- cut here ---
the IMAP server returns these lines converted and without trailing spaces:
--- cut here ---
C: 4 UID FETCH 6 (BODYSTRUCTURE)
S: * 3 FETCH (UID 6 BODYSTRUCTURE ("TEXT" "PLAIN" ("CHARSET" "UTF-8"
"FORMAT" "flowed" "DELSP" "Yes") NIL NIL "QUOTED-PRINTABLE" 530 10 NIL
("INLINE" NIL) NIL NIL))
S: 4 OK Completed (0.000 sec)
>> CACHE: Stored messages (mailbox: INBOX/Templates; UIDs: 6)
C: 5 UID FETCH 6 (BODY.PEEK[HEADER])
S: * 3 FETCH (UID 6 BODY[HEADER] {362}
S: Date: Thu, 31 Jan 2013 13:46:20 +0000^M
Message-ID: <20130131134620.Horde.MyK-X5Js9B88G_jhLguxYA1 at www3.nde.ag>^M
From: Jens-Uwe Mozdzen <jmozdzen at nde.ag>^M
Subject: Vorlage mit Umlaut^M
X-IMP-Draft: Yes^M
Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes^M
MIME-Version: 1.0^M
Content-Disposition: inline^M
Content-Transfer-Encoding: quoted-printable^M
^M
S: )
S: 5 OK Completed (0.000 sec)
C: 6 UID FETCH 6 (BINARY.PEEK[1])
S: * 3 FETCH (UID 6 BINARY[1] {330}
S: ^M
abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü^M
abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü^M
^M
abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü^M
abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü abcdü^M
S: )
S: 6 OK Completed (0.000 sec)
--- cut here ---
This is above my head, but what catches the eye is the string "DELSP"
in the FETCH response - could stand for "delete spaces". It's set in
the template's Content-type, too...
Is this anything you can help with, or is it simply the old Cyrus
imapd causing trouble again?
With regards,
Jens
More information about the imp
mailing list