Re: empty line Cyrus' reject/vacation messages (was: Re: Sievewrites an empty line in headers for reject/vacation)

2003-07-22 Thread Stephen Grier
On Sat, 2003-07-19 at 21:41, Bernhard Erdmann wrote:
 Hi,
 
 if Cyrus 2.1.13 sends reject or vacation messages generated by Sieve on 
 Exim 3.36 Linux systems and being filed back from Exim into Cyrus, a 
 blank line is added in the middle of the header lines causing the second 
 part of the header being treated as the body of the mail.

We were seeing this with Cyrus and exim-3.22.

 Exim 4.20 has an option drop_cr [5] but not Exim 3.36.

exim-3.22 has a -dropcr command line option.

 Would it be advisable to
 - patch Cyrus not to use \r\n as a line terminator
 - patch Cyrus to use a wrapper for the sendmail binary stripping \r\n 
 down to \n
 - upgrade to Exim 4.20 and use the option drop_cr?

We created a simple wrapper to exim using the -dropcr option and
specified this in the sendmail: line of imapd.conf.

-- 

Stephen Grier
Systems Developer
Computing Services
Queen Mary, University of London




Re: empty line Cyrus' reject/vacation messages (was: Re: Sievewrites an empty line in headers for reject/vacation)

2003-07-22 Thread Joakim Ryden
On Tue, 2003-07-22 at 01:56, Stephen Grier wrote:
 On Sat, 2003-07-19 at 21:41, Bernhard Erdmann wrote:
  Hi,
  
  if Cyrus 2.1.13 sends reject or vacation messages generated by Sieve on 
  Exim 3.36 Linux systems and being filed back from Exim into Cyrus, a 
  blank line is added in the middle of the header lines causing the second 
  part of the header being treated as the body of the mail.
 
 We were seeing this with Cyrus and exim-3.22.
 
  Exim 4.20 has an option drop_cr [5] but not Exim 3.36.
 
 exim-3.22 has a -dropcr command line option.

I am seeing this using the latest snapshot version of Postfix and Cyrus
2.2.1. There's no reject/vacation messages involved though, just regular
lmtp delivery and it doesn't happen all the time. Does anyone know if
there is a drop_cr equivalent for Postfix?

--Jo