6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/20/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7342] Vacation -> Plesk driver should set ans_freq = 1
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ . .. ,. . | |[__)| | \./ | | |/\|[__)|/\| | |/\|
Comment
> 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 "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>' > > > > > > Note that this field of part of the Plesk 8.3 XML API specification, > 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
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers