hi Pascal,

sorry, here are my infos:

dovecot version: Dovecot v1.0.rc15

i am not sure how to find out, which version of cumsieve the server has, as far as i can see with a locate cumsieve,
it must be version 1.0.3 or 1.1.6.

the scripte and a test-email is attached.

the log says:

deliver([email protected]): "2009-11-23 00:09:45 "Info: msgid=<[email protected]>: saved mail to INBOX

thanks for your help!!
michael

Am Sonntag, den 22.11.2009 23:01:35 schrieb Pascal Volk <[email protected]>...
On 11/22/2009 09:33 PM [email protected] wrote:
hi all,

i hope it´s okay for questions about the sieve plugin here...

Yes, this is the right mailing list for such questions…

my problem is, that the filters do not seem to match utf8-content

for instance: the email:

Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Subject: =?utf-8?Q?Erinnerung:=20Bitte=20f=C3=BChren=20Sie=20die=20Kaufabwicklung=20durch?=

when i use the same subject (of course in utf-8) in my ".dovecot.sieve", the filter never matches ;-((

does anyone have an idea howto make the sample here matching by sieve ???

Huh, where is your script? No script - no error checking. ;)

Which Dovecot version? Which Sieve version?

# file .dovecot.sieve
.dovecot.sieve: UTF-8 Unicode text

~/.dovecot.sieve:
require "fileinto";
if header :matches "subject" "Erinnerung: Bitte führen Sie die Kaufabw*" {
  fileinto "Trash";
  setflag "\\Seen";
}

Log: Info: sieve: msgid=<20091…ple.com>: stored mail into mailbox Trash'
The test message is attached.


Regards,
Pascal
------------------------------------------------------------------------

Betreff:
Erinnerung: Bitte führen Sie die Kaufabwicklung durch
Von:
[email protected]
Datum:
Sun, 22 Nov 2009 22:50:29 +0100 (CET)
An:
[email protected]

An:
[email protected]


<html>
<body>
<h1>Hello wordl</h1>
<p>foo bar baz</p>
</body>
</html>
--- Begin Message ---
test

--- End Message ---
# Erinnerung Kaufabwicklung
if allof ( 
                header :comparator "i;ascii-casemap" :contains "Subject" 
"Erinnerung: Bitte führen Sie die Kaufabwicklung durch",
        ) { 
    redirect "[email protected]";
    stop;
}

Reply via email to