ietf-mta-filters
[Top] [All Lists]

Re: Sieve Vacation and draft-moore-auto-email-response-04

2003-10-30 09:46:39

Hi Arnt,

--On Thursday, October 30, 2003 11:47 +0100 Arnt Gulbrandsen <arnt(_at_)gulbrandsen(_dot_)priv(_dot_)no> wrote:

| How about if the display-name is Jäñé Ràndôm? Who does the 2047 encoding,
| the program that writes the script, or the one that runs the script?
|
| I'd prefer the former since the Sieve interpreter may not know the right
| charset, but OTOH I know more people who write Sieve scripts by hand than
| by program, and they'd hate doing 2047 encoding.

We could probably follow the behaviour used for the 'reason' string in vacation and allow a ':mime' parameter for ':from' to indicate a MIME encoded header, as opposed to the normal sieve utf8 text. Without :mime, SIEVE has to figure out a suitable charset itself (simple solution is use utf8 if there are any non-ascii chars). With :mime SIEVE will not do any type of encoding and instead assumes the supplied data is already valid.

e.g.:

vacation :from "José <jose(_at_)example(_dot_)com>" "I'm away";

vacation :from :mime "=?ISO-8859-1?Q?Jos=E9?= <jose(_at_)example(_dot_)com>" "I'm away";

--
Cyrus Daboo