On Mon, Jun 19, 2006 at 05:14:49PM +0200, Torsten Jerzembeck wrote:
> Package: tin
> Version: 1:1.8.2-1
> Severity: minor
> 
> In order to add new entries to the .tin/filter file, tin offers a menu
> screen with several options. One of these options is to enter free form
> text and to choose between some common options where tin should apply
> this text.
> 
> However, if one selects the option "Apply pattern to: Message-ID: line",
> tin creates a scoring rule with the keyword "msgid", which matches the
> contents of the Message-ID _and_ the References header. In my opinion
> the rule created should use the "msgid_only" keyword.

quick and dirty fix:

--- filter.c    2006-02-15 19:44:37.000000000 +0100
+++ filter.c    2006-06-19 18:32:11.384235114 +0200
@@ -1165,8 +1165,9 @@
                        case FILTER_SUBJ_CASE_SENSITIVE:
                        case FILTER_FROM_CASE_SENSITIVE:
                        case FILTER_MSGID:
-                       case FILTER_MSGID_LAST:
-                       case FILTER_MSGID_ONLY:
+                               rule.counter = FILTER_MSGID_ONLY;
+/*                     case FILTER_MSGID_LAST:
+                       case FILTER_MSGID_ONLY: */
                                /* rule.icase is FALSE already, no assignment 
necessary */
                                break;
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to