<?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>Vacation -&gt; Plesk driver should set ans_freq = 1</title> 
  <pubDate>Sun, 05 Apr 2026 21:30:14 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7342</link> 
  <atom:link rel="self" type="application/rss+xml" title="Vacation -&gt; Plesk driver should set ans_freq = 1" href="https://bugs.horde.org/ticket/7342/rss" /> 
  <description>Vacation -&gt; Plesk driver should set ans_freq = 1</description> 
 
   
   
  <item> 
   <title>Good afternoon. I just made a tiny enhancement to the vacati</title> 
   <description>Good afternoon. I just made a tiny enhancement to the vacation/lib/Driver/plesk.php file to set an additional XML parameter available in Plesk. If &quot;ans_freq&quot; is not set, then it defaults in Plesk to a value of 10, which means that the first 10 times an external user sends in an email to an account, the autoresponder will shoot out a response. This is fine, until two users in the same company are both on vacation, and one of them sends email to the other; then each side gets 10 &quot;dueling vacation messages&quot; that look like &quot;Re: Re: Re: original subject&quot;. I thought it was pretty funny, but some of our users don&#039;t have a sense of humor.



So here is my improved version, as a patch:





[root@lin-10-ve1 Driver]# diff plesk.php.original plesk.php

158c158

&lt;             . &#039;&lt;/text&gt;&lt;/autoresponder&gt;&lt;/autoresponders&gt;&lt;/mailname&gt;&lt;/filter&gt;&#039;

---

&gt;             . &#039;&lt;/text&gt;&lt;ans_freq&gt;1&lt;/ans_freq&gt;&lt;/autoresponder&gt;&lt;/autoresponders&gt;&lt;/mailname&gt;&lt;/filter&gt;&#039;





Note that this field of part of the Plesk 8.3 XML API specification, which I got as a PDF from Parallels&#039; site. Also note that their parser seems to be sensitive to the sequence in which these parameters are given; I tried adding &lt;ans_freq&gt; right after the &lt;name&gt; and &lt;enabled&gt; flags of the autoresponder, and it gave some XML HTTP error, but if I put it here, after the &lt;text&gt; parameter, it accepts it fine. (I followed the order in that section of the PDF.)



Also note that I do not know whether this field is available in older versions of Plesk, or whether attempting to supply it to an older version would succeed but silently ignore this parameter, or would completely fail. Sorry, don&#039;t have time or resources to test it. I just wanted to submit this so other people might get the benefit of our research.



Cheers!



-- Jeff Saxe, Network Engineer

Blue Ridge InternetWorks

Charlottesville, VA, US

434-817-0707 ext. 2024</description> 
   <pubDate>Mon, 15 Sep 2008 20:12:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7342#t48950</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/vacation/lib/Driver/plesk.php?r1=1.9&amp;r2=1.10&amp;ty=u</description> 
   <pubDate>Wed, 17 Sep 2008 23:12:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7342#t48986</link> 
  </item> 
   
  <item> 
   <title>There is no Plesk driver in 3.0.1, and your patch didn&#039;t mat</title> 
   <description>There is no Plesk driver in 3.0.1, and your patch didn&#039;t match the CVS HEAD version either. I don&#039;t know where your Plesk driver is coming from, but I added that field to the official driver. Thanks!</description> 
   <pubDate>Wed, 17 Sep 2008 23:13:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7342#t48988</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
