[Rt-devel] Small patch to Email.pm

Sven Sternberger sven.sternberger at desy.de
Thu Mar 8 12:18:59 EST 2007


Hello!

I see that there are some mailling list managers (e.g. sympa)
which use the tag "list" in the precedence field. So I suggest the
following modification:

regards!

sven

--- lib/RT/Interface/Email.pm   2006-10-20 18:37:05.000000000 +0200
+++ local/lib/RT/Interface/Email.pm     2007-03-08 17:24:46.000000000
+0100
@@ -158,7 +158,7 @@
     my $head = shift;
 
     my $Precedence = $head->get("Precedence") || "";
-    if ( $Precedence =~ /^(bulk|junk)/i ) {
+    if ( $Precedence =~ /^(bulk|junk|list)/i ) {
         return (1);
     }
 




More information about the Rt-devel mailing list