6.0.0-beta1
7/27/25

[#8790] Vacation's Plesk Driver deletes Email Aliases
Summary Vacation's Plesk Driver deletes Email Aliases
Queue Vacation
Queue Version 3.2
Type Bug
State Duplicate
Priority 3. High
Owners
Requester tyler (at) netaccess (dot) ca
Created 12/19/2009 (5699 days ago)
Due 12/21/2009 (5697 days ago)
Updated 01/26/2010 (5661 days ago)
Assigned
Resolved 01/26/2010 (5661 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/26/2010 10:38:31 PM Jan Schneider Comment #4
State ⇒ Duplicate
Reply to this comment
Duplicate of #7111.
12/21/2009 03:46:40 PM tyler (at) netaccess (dot) ca Comment #3
New Attachment: vacation-plesk-driver.patch Download
Reply to this comment
I'm not sure how to contribute this directly, but here's a patch for 
the problem that fixes it.  I've only tested it on my system (Centos 
5, Plesk 9.2.3, Vacation H3 3.2) but the changes are minor and aliases 
are no longer deleted when vacation messages are set or unset.
12/21/2009 03:12:48 PM tyler (at) netaccess (dot) ca Comment #2 Reply to this comment
I've found the error in the Plesk driver.  The Plesk driver uses the 
"set" subcommand to modify mail settings according the the Plesk API 
documentation:

"The set sub-operation is a hybrid (delete + update) operation. It 
means that all settings specified in the packet will replace all the 
settings already existing for the mail account."

That means the requests need to use "add" and "remove" to set and 
unset the vacation message.

12/19/2009 07:14:38 PM tyler (at) netaccess (dot) ca Comment #1
Priority ⇒ 3. High
Patch ⇒ No
Milestone ⇒
Queue ⇒ Vacation
Due ⇒ 12/21/2009
Summary ⇒ Vacation's Plesk Driver deletes Email Aliases
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Ticket #7111 was resolved in error.  The Plesk driver does indeed 
delete aliases using the default installation and the most up to date 
version of Plesk.

I'm using:
Plesk v9.2.3
Horde (Plesk default): 3.1.7
Imp H3 (Plesk default): 4.1.6
Vacation H3: 3.2 (installed per the instructions on the vacation 
installation page)

Anytime someone activates their vacation message through the vacation 
module, all the aliases for that person disappear from qmail.  In the 
file system, the aliases appear to be stored in the 
var/qmail/users/assign file.  I'm not sure, but it looks like a side 
effect of the message sent to the Plesk interface.  I'm going to take 
a closer look at the proper format for such a message and see if I can 
figure out why the aliases are disappearing.

Saved Queries