[Dovecot] Sieve rule issue with certain character sets

Timo Sirainen tss at iki.fi
Sat Jan 1 14:24:38 EET 2011


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20110101/b6bdc3a5/attachment.bin 


More information about the dovecot mailing list