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

Re: I can not filter emails with words with accents

2006-06-15 04:31:19

Yes I use Cyrus IMAPD 2.2.12 and go to ask to the info-cyrus the same cuestión.

The problem I think is related with the encode of mail headers, when a mail have
accents for example in the Subject this header is encoded:

Example this is I see in a mail sent with Outlook Express with a Subject like
"leído":

Subject: =?iso-8859-1?B?bGXtZG8=?=

I don´t know if sieve considers this.

Greetings...

Sebastián Calero.


Citado por Kjetil Torgrim Homme <kjetilho(_at_)ifi(_dot_)uio(_dot_)no>:

On Thu, 2006-06-15 at 11:43 +0200, Sebas PRE wrote:
I would like to create a sieve filter to deliver to a folder all mail with
"leído:" in the Subject: header, but it does not work.

Sieve does not seem to detect words with accents. Does it exist any workaround
to this problem?

this is a bug in the implementation of Sieve you're using.  I see you're
using IMP, so it's probably Cyrus.  I myself have had problems with
non-ASCII not matching in Cyrus IMAPD 2.2.12, but I have never started
digging for the error.  in any case, that is better discussed on the
info-cyrus mailing list.

Sieve *does* have a problem with the wildcard '?' matching accented
letters, or rather, it's very inconvenient to write the script right.
it doesn't sound like this is your problem, and I guess it's not so
common to use it for more than

 if header :matches "Subject" [ "Vi?gr?", "V?agr?" ]

:-)
--
Kjetil T.






<Prev in Thread] Current Thread [Next in Thread>