Double Carriage return breaks header ..

Patrik Henningsson lists-cyrus at
Sat May 28 12:01:55 EDT 2005

> On Fri, May 27, 2005 at 10:18:57AM +0200, lists-cyrus at wrote:
>>Hello list,
>>We're currently running Cyrus IMAP 2.2.8 and having the following problem.
>>When a message arrives via LMTP with the header "Subject:
>>SUBJECTLINE\r\r\n" the message i broken and all other header-lines after
>>this line are put in the body! This is not cute at all ..
>>I suppose this "conversion" happens in spool_copy_msg()?
>>The message pass through Exim, Amavis and SpamAssassin without any
>>problem before it's reaching Cyrus.
>>Somebody have an idea how to correct this properly?
> I would like to know the answer too! Here we have that problem with sieve
> generated vacation messages having an extra blank line after the subject,
> and I really don't see where it is coming from.

I fixed this in our system that using Exim for sending vacation messages.


1. Create /usr/sbin/sendmail_cyrus:
cat > /usr/sbin/sendmail_cyrus << EOF
/usr/sbin/exim -dropcr \$*
chmod +x /usr/sbin/sendmail_cyrus

2. In /etc/imapd.conf change:
    "sendmail: /usr/sbin/sendmail"
    "sendmail: /usr/sbin/sendmail_cyrus"

Not 100% sure it helps, but i worked for me ...

> Cheers,
> Patrick

Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list