hi all, i hope it?s okay for questions about the sieve plugin here... 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 ??? thank?s for any help! michael
On 11/22/2009 09:33 PM micha at pocomail.de 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 -- The trapper recommends today: defaced.0932622 at localdomain.org -------------- next part -------------- An embedded message was scrubbed... From: spambot at example.com Subject: Erinnerung: Bitte f?hren Sie die Kaufabwicklung durch Date: Sun, 22 Nov 2009 22:50:29 +0100 (CET) Size: 616 URL: <http://dovecot.org/pipermail/dovecot/attachments/20091122/8e91637a/attachment-0002.eml>
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(shop at xxxx.de): "2009-11-23 00:09:45 "Info: msgid=<4B09C4AE.3070306 at xxxx.de>: saved mail to INBOX thanks for your help!! michael Am Sonntag, den 22.11.2009 23:01:35 schrieb Pascal Volk <user+dovecot at localhost.localdomain.org>...> On 11/22/2009 09:33 PM micha at pocomail.de 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: > spambot at example.com > Datum: > Sun, 22 Nov 2009 22:50:29 +0100 (CET) > An: > sven at firma.tld > > An: > sven at firma.tld > > > <html> > <body> > <h1>Hello wordl</h1> > <p>foo bar baz</p> > </body> > </html> >-------------- next part -------------- An embedded message was scrubbed... From: Michael <info at xxxx.de> Subject: Erinnerung: Bitte f?hren Sie die Kaufabwicklung durch Date: Mon, 23 Nov 2009 00:09:34 +0100 Size: 1035 URL: <http://dovecot.org/pipermail/dovecot/attachments/20091123/86adf2bf/attachment-0002.eml> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: .dovecot.sieve URL: <http://dovecot.org/pipermail/dovecot/attachments/20091123/86adf2bf/attachment-0002.pl>
On 11/23/2009 12:32 AM micha at pocomail.de wrote:> 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(shop at xxxx.de): "2009-11-23 00:09:45 "Info: > msgid=<4B09C4AE.3070306 at xxxx.de>: saved mail to INBOX >Please stop top posting. Your installation is horrible old. You may consider an update. You are using the omparator "i;ascii-casemap". Please read in RFC 2244 section 3.4 about it <http://tools.ietf.org/html/rfc2244#section-3.4>. And you will know, why your rule never will match. You could test my working script from my last message. Regards, Pascal -- The trapper recommends today: cafefeed.0932700 at localdomain.org
Am Montag, den 23.11.2009 0:53:15 schrieb Pascal Volk <user+dovecot at localhost.localdomain.org>...> Please stop top posting. > > Your installation is horrible old. You may consider an update. > > You are using the omparator "i;ascii-casemap". Please read in RFC 2244 > section 3.4 about it <http://tools.ietf.org/html/rfc2244#section-3.4>. > And you will know, why your rule never will match. > You could test my working script from my last message. > > > Regards, > Pascalokay, thank you !!!!!!! michael