Summary | Too many newline characters if a message is redirected out of a cyrus mailbox to a local postfix |
Queue | IMP |
Queue Version | 4.0.3 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | t.zell (at) gmx (dot) de |
Created | 08/15/2005 (7336 days ago) |
Due | |
Updated | 09/08/2005 (7312 days ago) |
Assigned | 08/15/2005 (7336 days ago) |
Resolved | 09/08/2005 (7312 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Priority ⇒ 2. Medium
However, I *think* your patch will work since erring on the side of
less newline characters always seems to work better too many newline
characters (I know this is a really in-depth, technical analysis of
the problem...)
I will add this to HEAD for testing, and hopefully get this in before
IMP 4.0.4 is released (there doesn't seem to be a Milestone input on
this bug so I can't set this version requirement there).
Assigned to Michael Slusarz
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Too many newline characters if a message is redirected out of a cyrus mailbox to a local postfix
Queue ⇒ IMP
New Attachment: compose_patch.diff
State ⇒ Unconfirmed
cyrus-imapd 2.2.12
postfix 2.2.1
horde 3.0.5
imp 4.0.3
Mail 1.1.6 from PEAR
IMP sends emails through the local "sendmail" command from postfix.
This command expects lines to be terminated by "\n". The "redirect"
command in IMP (which fetches the message body directly from the IMAP
inbox) delivers a message which contains "\r\n" as newline characters,
however. Depending on the mail servers the email passes through, the
email will have an empty line between every line of text, when it
reaches the recipient.
I attached a patch, which converts all newline to characters to "\n"
for redirected messages ... but this is probably not a universal
solution, since it may break other cases ...