<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>.forward file support for procmail mode broken</title> 
  <pubDate>Fri, 10 Apr 2026 19:46:54 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7811</link> 
  <atom:link rel="self" type="application/rss+xml" title=".forward file support for procmail mode broken" href="https://bugs.horde.org/ticket/7811/rss" /> 
  <description>.forward file support for procmail mode broken</description> 
 
   
   
  <item> 
   <title>Ingo backends file instructions tells to define &#039;forward_fil</title> 
   <description>Ingo backends file instructions tells to define &#039;forward_file&quot; and &quot;forward_string&quot; additional parameters for dealing with mail servers that allow application of procmail rules only on a per user basis. In the example backends.php.dist file these parameters are, indeed, in the $param array; however, the vfs.php driver tries to find them in the wrong place, i.e. at row 76:

if ($backend[&#039;script&#039;] == &#039;procmail&#039; &amp;&amp; isset($backend[&#039;forward_file&#039;]) &amp;&amp; isset($backend[&#039;forward_string&#039;])) {



problem is that $backend[&#039;forward_file&#039;] is not defined, so that condition is never true even if you uncomment the definitions in the backends.php file. 



I don&#039;t know if it&#039;s the backends.php.dist file or the vfs.php that&#039;s wrong. I&#039;ve resolved changing the following rows of the latter one:



        if ($backend[&#039;script&#039;] == &#039;procmail&#039; &amp;&amp; isset($backend[&#039;params&#039;][&#039;forward_file&#039;]) &amp;&amp; isset($backend[&#039;params&#039;][&#039;forward_string&#039;])) {

            if (empty($script)) {

                $result = $this-&gt;_vfs-&gt;deleteFile($this-&gt;_params[&#039;vfs_forward_path&#039;], $backend[&#039;params&#039;][&#039;forward_file&#039;]);

            } else {

                $result = $this-&gt;_vfs-&gt;writeData($this-&gt;_params[&#039;vfs_forward_path&#039;], $backend[&#039;params&#039;][&#039;forward_file&#039;], $backend[&#039;params&#039;][&#039;forw

                // Horde::logMessage(&quot;sono nel forward&quot;);

            }

            if (is_a($result, &#039;PEAR_Error&#039;)) {

                return $result;

            }



            if (isset($this-&gt;_params[&#039;file_perms&#039;]) &amp;&amp; !empty($script)) {

                $result = $this-&gt;_vfs-&gt;changePermissions($this-&gt;_params[&#039;vfs_forward_path&#039;], $backend[&#039;params&#039;][&#039;forward_file&#039;], $this-&gt;_params[&#039;

                if (is_a($result, &#039;PEAR_Error&#039;)) {

                    return $result;

                }

            }

        }

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

This way it&#039;s all working correctly (and I must say that ti is a GREAT solutions for forward and vacation! Much better than any other webmail I&#039;ve tested). 

Best regards, 

Fabrizio

</description> 
   <pubDate>Mon, 29 Dec 2008 17:24:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7811#t51481</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/ingo/docs/CHANGES?rt=horde&amp;r1=1.212&amp;r2=1.213&amp;ty=u
http://cvs.horde.org/diff.php/ingo/lib/Driver/vfs.php?rt=horde&amp;r1=1.37&amp;r2=1.38&amp;ty=u</description> 
   <pubDate>Sun, 04 Jan 2009 05:29:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7811#t51541</link> 
  </item> 
   
  <item> 
   <title>Fixed; thanks for the analysis.</title> 
   <description>Fixed; thanks for the analysis.</description> 
   <pubDate>Sun, 04 Jan 2009 05:30:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7811#t51542</link> 
  </item> 
   
  <item> 
   <title>&gt; Fixed; thanks for the analysis.



You&#039;re welcome... or ev</title> 
   <description>&gt; Fixed; thanks for the analysis.



You&#039;re welcome... or even better, thanks to you for your precious work. 

Best regards,

Fabrizio

</description> 
   <pubDate>Sun, 04 Jan 2009 16:41:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7811#t51544</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
