Hi,
I use cyrus-imap-2.0.16 with Exim 3.32 on Linux with LMTP delivery via
localhost. It works but when it comes to Sieve there's a problem.

When lmtpd detects in a user's sieve script a redirect (or vacation)
action it calls "/usr/lib/sendmail -f from-address -- to-address" and
pipes the messages to it (as I read lmtpd.c right). In my installation
this "sendmail" is exim actually.
When "to-address" is an external address it works as expected.

When "to-address" is a local address, the message is given from exim to
LMTP for this user and weird things happen: an empty line occures in the header part
- so the message is broken (no duplicate delivery suppression -dangerous-, as the
Message-Id is after the empty line!).

I detected that lmtpd gives the message to sendmail (exim in my case) with
CRLF on line ends. This causes the problem with exim - I added exim's
-dropcr flag and it works.

So, where is the problem - when is the extra line feed added? Does anyone
have an idea how to track this down? Should lmtpd pipe the message without
CRLF to the local sendmail command?

Thanks,
        Frank
-- 
Email: [EMAIL PROTECTED]  http://www.tu-chemnitz.de/~fri/
Work:  Computing Services,  Chemnitz University of Technology,  Germany

Reply via email to