[OGo-Bugs][Bug 704] Vacation notice is not actived when text contains umlauts

bugs@opengroupware.org bugs@opengroupware.org
Wed, 20 Jun 2007 13:45:26 +0200 (CEST)


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=704


samuli.seppanen@tietoteema.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samuli.seppanen@tietoteema.f
                   |                            |i




------- Additional Comments From samuli.seppanen@tietoteema.fi  2007-06-20 13:45 -------
We are employing a wrapper for the sky_install_sieve to work around this
problem. When the whole sieve script is encoded into UTF-8 another problem
arises. A snippet from our Wiki:

Vacation messages and scandinavian characters in the Subject field

The problem: Cyrus replaces any scandinavian characters with 'XX, as those are
represented with two-byte characters in UTF-8. Example:

   Olen lomalla. Palaan pXXXXsiXXisenXX!.

Cyrus IMAP daemon does not perform any character encoding conversions for the
vacation message's Subject field. As Cyrus will only accept UTF-8 encoded sieve
filters, any filters that have non-ASCII UTF-8 in the Subject field will fail.
This is because the subject field in an email can't contain any non-ASCII
characters if 7-bit content transfer encoding is used in Cyrus. 8-bit content
transfer encoding won't work either, because those extra characters (128) do not
match Unicode characters. The Subject line would probably work if the sieve
script would be 8-bit encoded (ISO-8859-1 or such) and Cyrus would use 8-bit
transfer encoding. This is obviously not possible, because ISO-8859-1 encoded
sieve scripts won't ever get installed to Cyrus.

In effect this means a couple of things:

* In order to install the vacation filter with sky_install_sieve one has to
convert the ISO-8859-1 encoded file to UTF-8
* As the filter is now pure unicode, it will install just fine. The Subject is
now in UTF-8, which means that Cyrus will notice that the filter is not pure
7-bit ASCII, and will replace the offending characters with X. 

A link about Cyrus + Subject field encoding for reference:

http://archives.neohapsis.com/archives/postfix/2003-09/1012.html

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.