[Dovecot] Sieve rule issue with certain character sets

Stephan Bosch stephan at rename-it.nl
Sat Jan 1 14:37:58 EET 2011


On 1/1/2011 1:24 PM, Timo Sirainen wrote:
> On Sat, 2011-01-01 at 13:19 +0100, Stephan Bosch wrote:
>>>> To: "=?UTF-8?B?ImJpbmQtdXNlcnNAbGlzdHMuaXNjLm9yZyI=?="
>>>>           <bind-users at lists.isc.org>
>>> I think this is a valid address..
>>    + An 'encoded-word' MUST NOT appear within a 'quoted-string'.
>>
>> So, there does seem to be a bug in the mailer used by the person sending the message.
> Yes, but we'd still have this problem even if this wasn't inside a
> quoted-string, because encoded-words themselves can contain any
> characters. Also in RFC 2047:
>
>> NOTE: Decoding and display of encoded-words occurs *after* a
>>     structured field body is parsed into tokens.  It is therefore
>>     possible to hide 'special' characters in encoded-words which, when
>>     displayed, will be indistinguishable from 'special' characters in the
>>     surrounding text.  For this and other reasons, it is NOT generally
>>     possible to translate a message header containing 'encoded-word's to
>>     an unencoded form which can be parsed by an RFC 822 mail reader.

Oh, ok. Well, then not using _utf8() functions for the address test 
still solves the problem right?

Regards,

Stephan.


More information about the dovecot mailing list