[ingo] worth to be committed ?

Stefan Gatterbauer s_gatterbauer at idlm.net
Sat Jan 25 10:53:16 PST 2003


Hello,

I changed to things in the fantastic INGO module for me :

additional header X-Priority (to set the "Important" Flag if X-Priority < 3) :
ingo/rule.php :

--- horde-CVS/horde/ingo/rule.php    Sun Jan 5 12:42:38 2003
+++ horde/ingo/rule.php Tue Jan 7 22:02:57 2003
@@ -89,6 +89,9 @@
$fields['X-Spam-Status'] = array(
   'label' => _("X-Spam-Status"),
   'tests' => $headertests);
+$fields['X-Priority'] = array(
+  'label' => _('X-Priority'),
+  'tests' => $headertests);
$fields['Size'] = array(
   'label' => _("Size"),
   'tests' => array('less than', 'greater than'));

---------------------------------------------------------------------------

some lists (ie openssl-announce) don't set the  List-  header records - instead
there is  X-List-Name  to identify the message and not to send vacation
messages to the List :

ingo/lib/Ingo.php :

--- horde-CVS/horde/ingo/lib/Ingo.php  Sat Jan 25 10:39:22 2003
+++ horde/ingo/lib/Ingo.php   Tue Jan 7 22:03:01 2003
@@ -252,6 +252,7 @@
       $listHeaders[] = 'List-Unsubscribe';
       $listHeaders[] = 'List-Archive';
       $listHeaders[] = 'List-Help';
+      $listHeaders[] = 'X-List-Name';

       $tests = array();
       if ($vacation['ignorelist']) {
---------------------------------------------------------------------------

Would be nice if one of the developers could bring these changes into the CVS

regards

Stefan


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


More information about the ingo mailing list