Summary | Vacation -> Plesk driver should set ans_freq = 1 |
Queue | Vacation |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | jsaxe (at) briworks (dot) com |
Created | 09/15/2008 (6139 days ago) |
Due | |
Updated | 09/17/2008 (6137 days ago) |
Assigned | |
Resolved | 09/17/2008 (6137 days ago) |
Milestone | |
Patch | Yes |
Assigned to Jan Schneider
State ⇒ Resolved
HEAD version either. I don't know where your Plesk driver is coming
from, but I added that field to the official driver. Thanks!
http://cvs.horde.org/diff.php/vacation/lib/Driver/plesk.php?r1=1.9&r2=1.10&ty=u
Priority ⇒ 1. Low
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Vacation
Summary ⇒ Vacation -> Plesk driver should set ans_freq = 1
Type ⇒ Enhancement
State ⇒ New
vacation/lib/Driver/plesk.php file to set an additional XML parameter
available in Plesk. If "ans_freq" 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 "dueling vacation messages" that look
like "Re: Re: Re: original subject". I thought it was pretty funny,
but some of our users don'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
< . '</text></autoresponder></autoresponders></mailname></filter>'
---
'</text><ans_freq>1</ans_freq></autoresponder></autoresponders></mailname></filter>'
which I got as a PDF from Parallels' site. Also note that their parser
seems to be sensitive to the sequence in which these parameters are
given; I tried adding <ans_freq> right after the <name> and <enabled>
flags of the autoresponder, and it gave some XML HTTP error, but if I
put it here, after the <text> 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'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