<?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>error in conf.xml for &quot;FTP driver for qmail compliant mailers&quot;</title> 
  <pubDate>Thu, 09 Apr 2026 19:39:44 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9014</link> 
  <atom:link rel="self" type="application/rss+xml" title="error in conf.xml for &quot;FTP driver for qmail compliant mailers&quot;" href="https://bugs.horde.org/ticket/9014/rss" /> 
  <description>error in conf.xml for &quot;FTP driver for qmail compliant mailers&quot;</description> 
 
   
   
  <item> 
   <title>Hi,

To get horde-vacation to work properly (upload all va</title> 
   <description>Hi,

To get horde-vacation to work properly (upload all vacation files to account), I had to insert this xml code (found here below), put it last in the &quot;FTP driver for qmail compliant mailers&quot; block (copied from the &quot;FTP driver for dot-forward compliant mailers&quot; block)

After that, when saved configuration for vacation, this is added to conf.php:
$conf[&#039;server&#039;][&#039;params&#039;][&#039;default&#039;][&#039;dbtype&#039;] = &#039;empty&#039;;
and it works as expected.

Below is xml code:

      &lt;configenum name=&quot;dbtype&quot; desc=&quot;The type of database file to use&quot;&gt;empty
       &lt;values&gt;
        &lt;value desc=&quot;An empty file&quot;&gt;empty&lt;/value&gt;
        &lt;value desc=&quot;Berkeley DB 2.x hash, little endian&quot;&gt;hash&lt;/value&gt;
        &lt;value desc=&quot;Berkeley DB 3.x hash, little endian&quot;&gt;hash3&lt;/value&gt;
        &lt;value desc=&quot;Berkeley DB 4.x hash, little endian&quot;&gt;hash4&lt;/value&gt;
        &lt;value desc=&quot;Berkeley DB 4.x hash, big endian&quot;&gt;hash4b&lt;/value&gt;
        &lt;value desc=&quot;Berkeley DB 2.x btree, little endian&quot;&gt;btree&lt;/value&gt;
        &lt;value desc=&quot;GNU dbm (gdbm) database, little endian&quot;&gt;gdbm&lt;/value&gt;
        &lt;value desc=&quot;GNU dbm (gdbm) database, big endian&quot;&gt;gdbmb&lt;/value&gt;
       &lt;/values&gt;
      &lt;/configenum&gt;

I had to modify horde/vacation/lib/Driver/qmail.php to get working directory path
for mailbox, (.maildir insted of Maildir) 2 places.
Maybe this is not a bug but should help others, be documented at horde wiki.

I allso had to have:
$conf[&#039;vacation&#039;][&#039;subject&#039;] = true;
$conf[&#039;vacation&#039;][&#039;from&#039;] = true;
otherwise the bounce mail to sender had wrong from address. (could be error in my vacation binary, or configuration on server, so not sure this is a horde-vacation bug) Maybe god info for horde vacation wiki?

At last, to get clean vacation form, I modified:
horde/vacation/templates/main

diff -ur main.inc.dist main.inc
--- main.inc.dist       2009-05-07 17:27:47.000000000 +0200
+++ main.inc    2010-05-10 13:40:06.000000000 +0200
@@ -54,17 +54,17 @@
 
 &lt;?php if ($GLOBALS[&#039;conf&#039;][&#039;vacation&#039;][&#039;subject&#039;]): ?&gt;
 &lt;p&gt;
-&lt;?php echo Horde::label(&#039;subject&#039;, _(&quot;Subject:&quot;)) ?&gt;
+
 &lt;br /&gt;
-&lt;input name=&quot;subject&quot; id=&quot;subject&quot; type=&quot;text&quot; size=&quot;70&quot; value=&quot;&lt;?php echo htmlspecialchars($cursubject) ?&gt;&quot; /&gt;
+&lt;input name=&quot;subject&quot; id=&quot;subject&quot; type=&quot;hidden&quot; size=&quot;70&quot; value=&quot;&lt;?php echo htmlspecialchars($cursubject) ?&gt;&quot; /&gt;
 &lt;/p&gt;
 &lt;?php endif; ?&gt;
 
 &lt;?php if ($GLOBALS[&#039;conf&#039;][&#039;vacation&#039;][&#039;from&#039;] &amp;&amp; $driver-&gt;hasCapability(&#039;changeFrom&#039;)): ?&gt;
 &lt;p&gt;
-&lt;?php echo Horde::label(&#039;from&#039;, _(&quot;From:&quot;)) ?&gt;
+
 &lt;br /&gt;
-&lt;input name=&quot;from&quot; id=&quot;from&quot; type=&quot;text&quot; size=&quot;70&quot; value=&quot;&lt;?php echo htmlspecialchars($curfrom) ?&gt;&quot; /&gt;
+&lt;input name=&quot;from&quot; id=&quot;from&quot; type=&quot;hidden&quot; size=&quot;70&quot; value=&quot;&lt;?php echo htmlspecialchars($curfrom) ?&gt;&quot; /&gt;
 &lt;/p&gt;
 &lt;?php endif; ?&gt;

This is maybe not a bug but could help others, if added to horde-vacation wiki.

If you have any questions, just ask.</description> 
   <pubDate>Mon, 10 May 2010 13:06:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9014#t58758</link> 
  </item> 
   
  <item> 
   <title>&gt; After that, when saved configuration for vacation, this is</title> 
   <description>&gt; After that, when saved configuration for vacation, this is added to conf.php:
&gt; $conf[&#039;server&#039;][&#039;params&#039;][&#039;default&#039;][&#039;dbtype&#039;] = &#039;empty&#039;;
&gt; and it works as expected.

So, could we as well hard-code the database type to &quot;empty&quot;, instead of changing conf.xml? Does Qmail work with any other database type at all?

&gt; I allso had to have:
&gt; $conf[&#039;vacation&#039;][&#039;subject&#039;] = true;
&gt; $conf[&#039;vacation&#039;][&#039;from&#039;] = true;
&gt; otherwise the bounce mail to sender had wrong from address. (could be 
&gt; error in my vacation binary, or configuration on server, so not sure 
&gt; this is a horde-vacation bug) Maybe god info for horde vacation wiki?
&gt;
&gt; At last, to get clean vacation form, I modified:
&gt; horde/vacation/templates/main
&gt;
&gt; diff -ur main.inc.dist main.inc
&gt; --- main.inc.dist       2009-05-07 17:27:47.000000000 +0200
&gt; +++ main.inc    2010-05-10 13:40:06.000000000 +0200
&gt; @@ -54,17 +54,17 @@
&gt;
&gt;  &lt;?php if ($GLOBALS[&#039;conf&#039;][&#039;vacation&#039;][&#039;subject&#039;]): ?&gt;
&gt;  &lt;p&gt;
&gt; -&lt;?php echo Horde::label(&#039;subject&#039;, _(&quot;Subject:&quot;)) ?&gt;
&gt; +
&gt;  &lt;br /&gt;
&gt; -&lt;input name=&quot;subject&quot; id=&quot;subject&quot; type=&quot;text&quot; size=&quot;70&quot; 
&gt; value=&quot;&lt;?php echo htmlspecialchars($cursubject) ?&gt;&quot; /&gt;
&gt; +&lt;input name=&quot;subject&quot; id=&quot;subject&quot; type=&quot;hidden&quot; size=&quot;70&quot; 
&gt; value=&quot;&lt;?php echo htmlspecialchars($cursubject) ?&gt;&quot; /&gt;
&gt;  &lt;/p&gt;
&gt;  &lt;?php endif; ?&gt;
&gt;
&gt;  &lt;?php if ($GLOBALS[&#039;conf&#039;][&#039;vacation&#039;][&#039;from&#039;] &amp;&amp; 
&gt; $driver-&gt;hasCapability(&#039;changeFrom&#039;)): ?&gt;
&gt;  &lt;p&gt;
&gt; -&lt;?php echo Horde::label(&#039;from&#039;, _(&quot;From:&quot;)) ?&gt;
&gt; +
&gt;  &lt;br /&gt;
&gt; -&lt;input name=&quot;from&quot; id=&quot;from&quot; type=&quot;text&quot; size=&quot;70&quot; value=&quot;&lt;?php echo 
&gt; htmlspecialchars($curfrom) ?&gt;&quot; /&gt;
&gt; +&lt;input name=&quot;from&quot; id=&quot;from&quot; type=&quot;hidden&quot; size=&quot;70&quot; value=&quot;&lt;?php 
&gt; echo htmlspecialchars($curfrom) ?&gt;&quot; /&gt;
&gt;  &lt;/p&gt;
&gt;  &lt;?php endif; ?&gt;

Sorry, I don&#039;t get this. First you configure vacation to *show* the subject and from fields, and then you *remove* those fields from the form manually?</description> 
   <pubDate>Thu, 13 May 2010 16:58:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9014#t58813</link> 
  </item> 
   
  <item> 
   <title>&gt;So, could we as well hard-code the database type to &quot;empty&quot;</title> 
   <description>&gt;So, could we as well hard-code the database type to &quot;empty&quot;, instead 
&gt;of changing conf.xml? Does Qmail work with any other database type at 
&gt;all?

I tried to select all types of db, all worked ok for me, only difference, with empty, the .vacation.db, .vacation.dir and .vacation.pag were null in size when uploaded to account (I guess thats ok) with other db types the files vary in size (4096, 8162 and 12288k) I guess you should modify the conf.xml, seems like qmail driver use forward driver.

&gt;Sorry, I don&#039;t get this. First you configure vacation to *show* the 
&gt;subject and from fields, and then you *remove* those fields from the 
&gt;form manually?

Yes. When selected, horde-vacation default sets the accrual users email address as from address when sending out of office bounce mail. If not selected, from address is domain.com@mail.domain.com. I dont know why, I guess horde-vacation (or my vacation binary) dont get any data so it use some default value.

I then hide &quot;change from address&quot; options for end user (vacation gets messy if they change address, mailserver does not allow sending emails without valid user)

- - -

When testing dbtypes I found one strange thing. If you enable a vacation message, then go back to vacation and change the message and choose &quot;Set/install vacation notice&quot; click submit, then the new updated message gets uploaded, great, however, horde-vacation seems to check if any .qmail file exists on server, if do, renames old to .qmail_horde. Then disable the vacation message, all files on server gets removed except the .qmail file. I have to manually remove it to get rid of it. If not, server continue to sending vacation messages. If i try to enable vacation message again, horde-vacation does the same and leave the .qmail file when disable vacation message.</description> 
   <pubDate>Mon, 17 May 2010 08:42:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9014#t58841</link> 
  </item> 
   
  <item> 
   <title>&gt; Yes. When selected, horde-vacation default sets the accrua</title> 
   <description>&gt; Yes. When selected, horde-vacation default sets the accrual users 
&gt; email address as from address when sending out of office bounce mail. 
&gt; If not selected, from address is domain.com@mail.domain.com. I dont 
&gt; know why, I guess horde-vacation (or my vacation binary) dont get any 
&gt; data so it use some default value.

This rather sounds like a mis-configured/broken vacation binary.

&gt; When testing dbtypes I found one strange thing. If you enable a 
&gt; vacation message, then go back to vacation and change the message and 
&gt; choose &quot;Set/install vacation notice&quot; click submit, then the new 
&gt; updated message gets uploaded, great, however, horde-vacation seems 
&gt; to check if any .qmail file exists on server, if do, renames old to 
&gt; .qmail_horde. Then disable the vacation message, all files on server 
&gt; gets removed except the .qmail file. I have to manually remove it to 
&gt; get rid of it. If not, server continue to sending vacation messages. 
&gt; If i try to enable vacation message again, horde-vacation does the 
&gt; same and leave the .qmail file when disable vacation message.

Please create a separate ticket for this.</description> 
   <pubDate>Tue, 15 Jun 2010 15:18:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9014#t59142</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
