<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Too many newline characters if a message is redirected out of a cyrus mailbox to a local postfix</title> 
  <pubDate>Fri, 10 Apr 2026 18:27:27 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/2449</link> 
  <atom:link rel="self" type="application/rss+xml" title="Too many newline characters if a message is redirected out of a cyrus mailbox to a local postfix" href="https://bugs.horde.org/ticket/2449/rss" /> 
  <description>Too many newline characters if a message is redirected out of a cyrus mailbox to a local postfix</description> 
 
   
   
  <item> 
   <title>My configuration is:

cyrus-imapd 2.2.12

postfix 2.2.1

hor</title> 
   <description>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 &quot;sendmail&quot; command from postfix. This command expects lines to be terminated by &quot;\n&quot;. The &quot;redirect&quot; command in IMP (which fetches the message body directly from the IMAP inbox) delivers a message which contains &quot;\r\n&quot; 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 &quot;\n&quot; for redirected messages ... but this is probably not a universal solution, since it may break other cases ...</description> 
   <pubDate>Mon, 15 Aug 2005 20:08:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2449#t10561</link> 
  </item> 
   
  <item> 
   <title>This appears to be a sendmail specific issue on UNIX machine</title> 
   <description>This appears to be a sendmail specific issue on UNIX machines.  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&#039;t seem to be a Milestone input on this bug so I can&#039;t set this version requirement there).</description> 
   <pubDate>Thu, 01 Sep 2005 04:27:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2449#t10909</link> 
  </item> 
   
  <item> 
   <title>Added Milestone attribute to Ticket Type &quot;Bug&quot;.</title> 
   <description>Added Milestone attribute to Ticket Type &quot;Bug&quot;.</description> 
   <pubDate>Thu, 01 Sep 2005 07:16:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2449#t10914</link> 
  </item> 
   
  <item> 
   <title>Merged to 4.0.4.</title> 
   <description>Merged to 4.0.4.</description> 
   <pubDate>Thu, 08 Sep 2005 06:07:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2449#t11067</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
