[prev in list] [next in list] [prev in thread] [next in thread] 

List:       horde-bugs
Subject:    [Tickets #8804] Procmail script generation error
From:       bugs () horde ! org
Date:       2009-12-28 10:46:44
Message-ID: whups-8804-40da5920f32557c0a3e3eec1fb8a2e62 () bugs ! horde ! org
[Download RAW message or body]

DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8804
------------------------------------------------------------------------------
  Ticket             | 8804
  Created By         | rene.plattner@uibk.ac.at
  Summary            | Procmail script generation error
  Queue              | Ingo
  Version            | 1.2.3
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


rene.plattner@uibk.ac.at (2009-12-28 05:46) wrote:

Dear Horde Team!

I noticed a problem at procmail script generation.

'To,Cc,Bcc,Resent-to'

is translated to

* \^To,Cc,Bcc,Resent-to: ...

should be

* ^To,Cc,Bcc,Resent-to: ...

I solved this as follows:

--- ingo/lib/Script/procmail.php_orig   2009-11-11 08:55:31.000000000 +0100
+++ ingo/lib/Script/procmail.php        2009-11-11 08:59:06.000000000 +0100
@@ -640,7 +640,7 @@
               if (strpos($condition['field'], ',') == false) {
                   $string = '^' . $condition['field'] . ':';
               } else {
-                $string .= '/^(' . str_replace(',', '|',
$condition['field']) . '):';
+                $string .= '^(' . str_replace(',', '|',
$condition['field']) . '):';
               }
               $prefix = ' ';
           }





-- 
You are subscribed to this list as: horde-bugs@progressive-comp.com
To unsubscribe, mail: bugs-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic