[Tickets #8804] Procmail script generation error
bugs at horde.org
bugs at horde.org
Mon Dec 28 10:46:44 UTC 2009
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 at 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 at 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 = ' ';
}
More information about the bugs
mailing list