<?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>Delete Vacation DB on Disable</title> 
  <pubDate>Fri, 10 Apr 2026 06:14:13 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/1664</link> 
  <atom:link rel="self" type="application/rss+xml" title="Delete Vacation DB on Disable" href="https://bugs.horde.org/ticket/1664/rss" /> 
  <description>Delete Vacation DB on Disable</description> 
 
   
   
  <item> 
   <title>Currently, when I enable a vacation message, it creates a da</title> 
   <description>Currently, when I enable a vacation message, it creates a database of users that have gotten the vacation message from me, so as not to spam the person.  When you disable the message, the database of users isn&#039;t deleted, it remains.  On disable, give an option to delete the database?</description> 
   <pubDate>Fri, 01 Apr 2005 20:13:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1664#t6810</link> 
  </item> 
   
  <item> 
   <title>Which driver are you using? I don&#039;t think any driver we curr</title> 
   <description>Which driver are you using? I don&#039;t think any driver we currently have supports that.</description> 
   <pubDate>Thu, 07 Apr 2005 16:20:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1664#t7005</link> 
  </item> 
   
  <item> 
   <title>Currently I&#039;m using the &#039;prefs&#039; driver, which is then using </title> 
   <description>Currently I&#039;m using the &#039;prefs&#039; driver, which is then using a vfs driver:



It does work, it writes the .procmailrc script just fine, and the vacation database shows up, it&#039;s just not deleted when I choose to disable the vacation message in Ingo.



backends.php:



$backends[&#039;procmail&#039;] = array(

    &#039;driver&#039; =&gt; &#039;vfs&#039;,

    &#039;preferred&#039; =&gt; &#039;domain.com&#039;,

    &#039;hordeauth&#039; =&gt; true,

    &#039;params&#039; =&gt; array(

        &#039;hostspec&#039; =&gt; &#039;ftp.domain.com&#039;,

        &#039;procmailrc&#039; =&gt; &#039;.procmailrc&#039;,

        &#039;port&#039; =&gt; 21,

        &#039;vfstype&#039; =&gt; &#039;ftp&#039;

    ),

    &#039;script&#039; =&gt; &#039;procmail&#039;,

    &#039;scriptparams&#039; =&gt; array(

        // What path style does the IMAP server use [&#039;mbox&#039;|&#039;maildir&#039;]?

        &#039;path_style&#039; =&gt; &#039;mbox&#039;,

        &#039;variables&#039; =&gt; array(

            // Example for the $PATH variable

            // &#039;PATH&#039; =&gt; &#039;/usr/bin&#039;

        )

    )

);</description> 
   <pubDate>Thu, 07 Apr 2005 16:27:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1664#t7007</link> 
  </item> 
   
  <item> 
   <title>I don&#039;t know if I&#039;m comfortable with deleting files that ing</title> 
   <description>I don&#039;t know if I&#039;m comfortable with deleting files that ingo doesn&#039;t directly generate.  What if we were to modify the script to put the vacation cache in a hidden directory or hidden file?  Something like:



    .vacation/username1@example.com



or



    .vacation.username2@example.com



I&#039;m personally in favor of the first one.</description> 
   <pubDate>Mon, 09 May 2005 04:19:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1664#t8044</link> 
  </item> 
   
  <item> 
   <title>That&#039;s fine, but that doesn&#039;t really resolve the problem, th</title> 
   <description>That&#039;s fine, but that doesn&#039;t really resolve the problem, the vacation DB would still exist afterward and wouldn&#039;t be emptied for the next time the vacation message is created, giving us the same problem, or am I getting this completely wrong?</description> 
   <pubDate>Mon, 09 May 2005 05:06:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1664#t8045</link> 
  </item> 
   
  <item> 
   <title>Ah, I see what you are saying now.  The following lines of t</title> 
   <description>Ah, I see what you are saying now.  The following lines of the generated script handle deleting an old database:



  5:   FILEDATE=`ls -lcn --time-style=+%s &#039;vacation.test@ben.chavet.net&#039; | awk &#039;{ print $6 + (604800) }&#039;`

  6:   DATE=`date +%s`

  7:   DUMMY=`test $FILEDATE -le $DATE &amp;&amp; rm &#039;vacation.test@ben.chavet.net&#039;`



The database is deleted if it was created more than X days ago, where X is the user-defined &quot;Number of days between vacation replies&quot; on the vacation form.  So, re-enabling the vacation script will result in a new database if it has been more than X days since it was created.



So, this functionality isn&#039;t exactly obvous from the user&#039;s perspective. But if we hide the database files, it should just be a transparent thing that &quot;just works&quot; for the user.



The only potential problem I can see with this is if the user chooses some insanely large number of days to keep the database.</description> 
   <pubDate>Mon, 23 May 2005 03:34:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1664#t8438</link> 
  </item> 
   
  <item> 
   <title>Ben&#039;s explanation makes sense to me and this has been sittin</title> 
   <description>Ben&#039;s explanation makes sense to me and this has been sitting for two years. Rejecting.</description> 
   <pubDate>Fri, 28 Dec 2007 23:10:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1664#t40521</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
