I'm not familiar with the sieve layer, but if I read the code right,
there's no real obstacle to decoding headers before feeding them to sieve.

So at least it looks fixable.


tabris wrote:
> I checked the bugtracker and my mailing list archives prior to sending
> this question.
> 
> Basically, we find that the Subject line of this particular email
> contains a Unicode apostrophe, and thus the entire thing is encoded in
> UTF-8.
> 
> However, the part that the filter is looking for is, once you strip the
> base64 encoding, perfectly normal ASCII.
> 
> The system in question is running OpenSuSE 10.2, DBmail 2.2.13 (just
> recompiled this year), not sure which libsieve version, it's 2.2 something.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Subject:
> doesn't filter
> From:
> Thomas Daniel <[email protected]>
> Date:
> Fri, 15 Jan 2010 07:57:45 -0800
> To:
> Adam Schrotenboer <[email protected]>
> 
> To:
> Adam Schrotenboer <[email protected]>
> 
> 
> I think I got my filters right now, but there are still some emails that
> don't get filtered. For example, this one arrived into my inbox. Note
> that there are many,many others that were correctly filtered by the same
> rule that should have applied here. So, I checked the source of the
> message and it is weird, see down below....
> 
> 
> 
> -------- Original Message --------
> Subject:      Re: [M2000 Software Trac] #4438: The command get_low_skew
> doesn’t returns the nets which are connected with m_rbuf.
> Date:         Fri, 15 Jan 2010 09:02:55 -0000
> From:         M2000 Software Trac <[email protected]>
> <mailto:[email protected]>
> Reply-To:     [email protected] <mailto:[email protected]>
> To:   [email protected] <mailto:[email protected]>,
> [email protected] <mailto:[email protected]>
> CC:   [email protected] <mailto:[email protected]>,
> [email protected] <mailto:[email protected]>,
> [email protected] <mailto:[email protected]>,
> [email protected] <mailto:[email protected]>,
> [email protected] <mailto:[email protected]>,
> [email protected] <mailto:[email protected]>
> 
> 
> 
> #4438: The command get_low_skew doesn’t returns the nets which are connected 
> with
> m_rbuf.
> -------------------------+--------------------------------------------------
>  Reporter:  shahen       |        Owner:  shahen
>      Type:  enhancement  |       Status:  closed
>  Priority:  major        |    Milestone:  10.1  
> Component:  shell        |   Resolution:  fixed 
>  Keywords:  iobank-1.2   |       Effort:  0     
>  Category:               |  
> -------------------------+--------------------------------------------------
> Changes (by shahen):
> 
>   * status:  fixed => closed
>   * resolution:  => fixed
> 
> 
> -- 
> Ticket URL: <https://mtrac.m2000.com/trac/ticket/4438#comment:4>
> M2000 Software Trac <https://mtrac.m2000.com/>
> Software team trac
> -----------------------------------------------------------------------------
> 
> Received: from goose.bievres.m2000.com (unknown [192.168.12.1])
>       by pigeon.m2000.com (Postfix) with ESMTP id 2AB061C15F4;
>       Fri, 15 Jan 2010 10:02:56 +0100 (CET)
> Received: from goose.bievres.m2000.com (localhost.localdomain [127.0.0.1])
>       by goose.bievres.m2000.com (Postfix) with ESMTP id BA755E8052;
>       Fri, 15 Jan 2010 10:02:55 +0100 (CET)
> From: "M2000 Software Trac" <[email protected]> 
> <mailto:[email protected]>
> X-Trac-Version: 0.11b2
> Precedence: bulk
> Cc: [email protected] <mailto:[email protected]>, 
> [email protected] <mailto:[email protected]>, 
> [email protected] <mailto:[email protected]>,
>       [email protected] <mailto:[email protected]>, 
> [email protected] <mailto:[email protected]>, [email protected] 
> <mailto:[email protected]>
> Auto-Submitted: auto-generated
> X-Mailer: Trac 0.11b2, by Edgewall Software
> To: [email protected] <mailto:[email protected]>, 
> [email protected] <mailto:[email protected]>
> X-Trac-Project: M2000 Software Trac
> Date: Fri, 15 Jan 2010 09:02:55 -0000
> Reply-To: [email protected] <mailto:[email protected]>
> X-URL: https://mtrac.m2000.com/
> Subject: =?utf-8?b?UmU6IFtNMjAwMCBTb2Z0d2FyZSBUcmFjXSAjNDQzODogVGhlIGNv?=
>  =?utf-8?b?bW1hbmQgZ2V0X2xvd19za2V3IGRvZXNu4oCZdCByZXR1cm5zIHRo?=
>  =?utf-8?b?ZSBuZXRzIHdoaWNoIGFyZSBjb25uZWN0ZWQgd2l0aCBtX3JidWYu?=
> X-Trac-Ticket-URL: https://mtrac.m2000.com/trac/ticket/4438#comment:4
> Message-ID: <[email protected]> 
> <mailto:[email protected]>
> References: <[email protected]> 
> <mailto:[email protected]>
> X-Trac-Ticket-ID: 4438
> In-Reply-To: <[email protected]> 
> <mailto:[email protected]>
> Return-Path: [email protected] <mailto:[email protected]>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: base64
> 
> IzQ0Mzg6IFRoZSBjb21tYW5kIGdldF9sb3dfc2tldyBkb2VzbuKAmXQgcmV0dXJucyB0aGUgbmV0
> cyB3aGljaCBhcmUgY29ubmVjdGVkIHdpdGgNCm1fcmJ1Zi4KLS0tLS0tLS0tLS0tLS0tLS0tLS0t
> LS0tLSstLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0K
> IFJlcG9ydGVyOiAgc2hhaGVuICAgICAgIHwgICAgICAgIE93bmVyOiAgc2hhaGVuDQogICAgIFR5
> cGU6ICBlbmhhbmNlbWVudCAgfCAgICAgICBTdGF0dXM6ICBjbG9zZWQNCiBQcmlvcml0eTogIG1h
> am9yICAgICAgICB8ICAgIE1pbGVzdG9uZTogIDEwLjEgIA0KQ29tcG9uZW50OiAgc2hlbGwgICAg
> ICAgIHwgICBSZXNvbHV0aW9uOiAgZml4ZWQgDQogS2V5d29yZHM6ICBpb2JhbmstMS4yICAgfCAg
> ICAgICBFZmZvcnQ6ICAwICAgICANCiBDYXRlZ29yeTogICAgICAgICAgICAgICB8ICANCi0tLS0t
> LS0tLS0tLS0tLS0tLS0tLS0tLS0rLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
> LS0tLS0tLS0tLS0tLS0KQ2hhbmdlcyAoYnkgc2hhaGVuKToKCiAgKiBzdGF0dXM6ICBmaXhlZCA9
> PiBjbG9zZWQNCiAgKiByZXNvbHV0aW9uOiAgPT4gZml4ZWQNCgoKLS0gClRpY2tldCBVUkw6IDxo
> dHRwczovL210cmFjLm0yMDAwLmNvbS90cmFjL3RpY2tldC80NDM4I2NvbW1lbnQ6ND4KTTIwMDAg
> U29mdHdhcmUgVHJhYyA8aHR0cHM6Ly9tdHJhYy5tMjAwMC5jb20vPgpTb2Z0d2FyZSB0ZWFtIHRy
> YWMK
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> DBmail mailing list
> [email protected]
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to