[Tickets #2449] NEW: Too many newline characters if a message is redirected out of a cyrus mailbox to a local postfix

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Aug 15 13:08:23 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2449
-----------------------------------------------------------------------
 Ticket             | 2449
 Created By         | t.zell at gmx.de
 Summary            | Too many newline characters if a message is redirected out of a cyrus mailbox to a local postfix
 Queue              | IMP
 Version            | 4.0.3
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
+New Attachment     | compose_patch.diff
-----------------------------------------------------------------------


t.zell at gmx.de (2005-08-15 13:08) wrote:

My configuration is:
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 ...




More information about the bugs mailing list