Re: [Exim] exim to cyrus deliver: Message contains invalid h…

Top Page
Delete this message
Reply to this message
Author: Matt Bernstein
Date:  
To: Thomas Pasch
CC: exim-users
Subject: Re: [Exim] exim to cyrus deliver: Message contains invalid header
On Nov 19 Thomas Pasch wrote:

>I'm using exim 4.10 and want to deliver mail locally
>to a cyrus version 2.1.9 imapd. I'm trying to use
>normal (pipe) delivery with /usr/sbin/cyrdeliver aka
>'cyrus deliver' programm (no lmtp). (This is a debian
>system. In the normal case the program is just called
>'deliver'


Show us your router please!

>The cyrdeliver always complains about
>> Message contains invalid header
>
>Further investigation reveals that exim what to deliver
>a file like this:
>
>1 > From name@??? Mon Nov 18 31:33:09 2002


This looks like you're trying to deliver a BSD-format mailbox.

>PS:
>Tried lmtp over tcp on port 2003 as well. In this case my problem
>is to authenticate against cyrus. Even after reading the corresponding
>part of the manual/specification, I've got problems to use plaintext
>authentication in exim. Perhaps there is alse somebody out there who
>knows how to do and can post the relevant part of the exim configuration
>as well...


Please try my patch at
    http://www.dcs.qmul.ac.uk/~mb/exim-patches/lmtp-socket.diff


..which will allow you to deliver to lmtpunix with a router like:

lmtp_socket:
    driver = lmtp
    socket = /var/lib/cyrus/socket/lmtp


Please let me know how you get on!

Matt