Hi Aall, we are having issues with outlook clients, running exchange or lotus being unable to parse the email messages redirected by dovecot's sieve 0.3.1, the command is plain redirect "email at lotusmail.xxx"; redirects from mta also work correctly exchange was fixed by removing this commit http://hg.rename-it.nl/dovecot-2.1-pigeonhole/raw-diff/082216ad12d6/src/lib-sieve/cmd-redirect.c are there any other modifications to the email body or headers that can make those mesages not parsable for outlook ? looking at http://hg.rename-it.nl/dovecot-2.1-pigeonhole/raw-diff/082216ad12d6/src/lib-sieve/cmd-redirect.c maybe removing HEADER_FILTER_NO_CR fromi_stream_create_header_filter() will make redirected messages more in tact ? what can I do to make redirect more verbatim ? Thanks in advance for any information. Regards, Michal Grzedzicki
2012/7/16 Lazy <lazy404 at gmail.com>:> Hi Aall, > > we are having issues with outlook clients, running exchange or lotus > being unable to parse the email messages redirected by > > dovecot's sieve 0.3.1, the command is plain redirect "email at lotusmail.xxx"; > redirects from mta also work correctly > > > exchange was fixed by removing this commit > http://hg.rename-it.nl/dovecot-2.1-pigeonhole/raw-diff/082216ad12d6/src/lib-sieve/cmd-redirect.c > > are there any other modifications to the email body or headers that > can make those mesages not parsable for outlook ? > > looking at http://hg.rename-it.nl/dovecot-2.1-pigeonhole/raw-diff/082216ad12d6/src/lib-sieve/cmd-redirect.c > > maybe removing HEADER_FILTER_NO_CR fromi_stream_create_header_filter() > will make redirected messages more in tact ? > > what can I do to make redirect more verbatim ? > > Thanks in advance for any information.i have got it if ( recipient != NULL ) rfc2822_header_field_write(f, "X-Sieve-Redirected-From", recipient); was adding crlf in the headers, and it made whole email inconsistent (when I have removed crlf filter before) Regards, Michal Grzedzicki
On 7/16/2012 5:00 PM, Lazy wrote:> 2012/7/16 Lazy <lazy404 at gmail.com>: > > i have got it > > if ( recipient != NULL ) > rfc2822_header_field_write(f, > "X-Sieve-Redirected-From", recipient); > > was adding crlf in the headers, and it made whole email inconsistent > (when I have removed crlf filter before)Could you explain this a little further? Is this a bug? Regards, Stephan.
2012/7/16 Stephan Bosch <stephan at rename-it.nl>:> On 7/16/2012 5:00 PM, Lazy wrote: >> >> 2012/7/16 Lazy <lazy404 at gmail.com>: >> >> >> i have got it >> >> if ( recipient != NULL ) >> rfc2822_header_field_write(f, >> "X-Sieve-Redirected-From", recipient); >> >> was adding crlf in the headers, and it made whole email inconsistent >> (when I have removed crlf filter before) > > > Could you explain this a little further? Is this a bug?it turned out it was a qmail issue, there is a patch for it already, http://opensource.sf-tec.de/qmail/qmail-remote-CRLF.diff sorry for the noise Regards, Michal Grzedzicki