<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="/h/themes/default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Procmail script generation error</title> 
  <pubDate>Tue, 21 May 2013 06:32:01 +0000</pubDate> 
  <link>http://bugs.horde.org/ticket/8804</link> 
  <atom:link rel="self" type="application/rss+xml" title="Procmail script generation error" href="http://bugs.horde.org/ticket/8804/rss" /> 
  <description>Procmail script generation error</description> 
 
   
   
  <item> 
   <title>Dear Horde Team!

I noticed a problem at procmail script g</title> 
   <description>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 = ' ';
          }</description> 
   <pubDate>Mon, 28 Dec 2009 10:46:44 +0000</pubDate> 
   <link>http://bugs.horde.org/ticket/8804#t57344</link> 
  </item> 
   
  <item> 
   <title>Hm, no, it's actually translated to:
* /^(To|Cc|Bcc|Resent-</title> 
   <description>Hm, no, it's actually translated to:
* /^(To|Cc|Bcc|Resent-to|From|Sender|Reply-to|Resent-from):.*someaddress
and this looks like it's supposed to be a regular expression that's missing the closing slash. Can anybody confirm, that this is the correct the rule:
* /^(To|Cc|Bcc|Resent-to|From|Sender|Reply-to|Resent-from):.*someaddress/</description> 
   <pubDate>Wed, 30 Dec 2009 17:22:28 +0000</pubDate> 
   <link>http://bugs.horde.org/ticket/8804#t57372</link> 
  </item> 
   
  <item> 
   <title>No.  We want the final result to look like (from &quot;man procma</title> 
   <description>No.  We want the final result to look like (from &quot;man procmailex&quot;:

          * ^From.*peter

There shouldn't be any slash characters.</description> 
   <pubDate>Wed, 30 Dec 2009 18:44:54 +0000</pubDate> 
   <link>http://bugs.horde.org/ticket/8804#t57377</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Remove stray</title> 
   <description>Changes have been made in CVS for this ticket:

Remove stray slash (Bug #8804).
http://cvs.horde.org/diff.php/ingo/lib/Script/procmail.php?rt=horde&amp;r1=1.46.10.33&amp;r2=1.46.10.34&amp;ty=u</description> 
   <pubDate>Wed, 30 Dec 2009 23:11:06 +0000</pubDate> 
   <link>http://bugs.horde.org/ticket/8804#t57378</link> 
  </item> 
   
  <item> 
   <title>Fixed, thanks!</title> 
   <description>Fixed, thanks!</description> 
   <pubDate>Wed, 30 Dec 2009 23:12:49 +0000</pubDate> 
   <link>http://bugs.horde.org/ticket/8804#t57380</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

MFB: Remove </title> 
   <description>Changes have been made in Git for this ticket:

MFB: Remove stray slash (Bug #8804).

http://git.horde.org/diff.php/ingo/docs/CHANGES?rt=horde-hatchery&amp;r1=b4ad4f8663a37182188cbffd960651e089893e8a&amp;r2=7d76106c3960377c978520367292805c234e4fb1
http://git.horde.org/diff.php/ingo/lib/Script/Procmail.php?rt=horde-hatchery&amp;r1=a04d974faf3fd7f46e2036a8917d2fab4091fbdb&amp;r2=7d76106c3960377c978520367292805c234e4fb1</description> 
   <pubDate>Wed, 30 Dec 2009 23:22:07 +0000</pubDate> 
   <link>http://bugs.horde.org/ticket/8804#t57381</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

MFB: Remove </title> 
   <description>Changes have been made in Git for this ticket:

MFB: Remove stray slash (Bug #8804).

http://git.horde.org/diff.php/ingo/docs/CHANGES?rt=horde-git&amp;r1=b4ad4f8663a37182188cbffd960651e089893e8a&amp;r2=7d76106c3960377c978520367292805c234e4fb1
http://git.horde.org/diff.php/ingo/lib/Script/Procmail.php?rt=horde-git&amp;r1=a04d974faf3fd7f46e2036a8917d2fab4091fbdb&amp;r2=7d76106c3960377c978520367292805c234e4fb1</description> 
   <pubDate>Wed, 13 Jan 2010 00:25:03 +0000</pubDate> 
   <link>http://bugs.horde.org/ticket/8804#t57689</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
