1

Topic: feature request: domainadmin is able to edit & activate users vacation

i'd like to see this feature:
domainadmin is able to edit & activate users vacation inside iRedAdmin-Pro

2

Re: feature request: domainadmin is able to edit & activate users vacation

Current, vacation support in iRedMail is implemented as sieve script, but we have no plan to manage sieve rules in iRedAdmin-Pro. So this feature won't be achieved (at least in several feature releases).

3

Re: feature request: domainadmin is able to edit & activate users vacation

Ok. I see. As we dont offer webmail to all customers and not all others really use webmail we would need such a functionality inside iredadminpro. Can we add this functionality on our own or can we sponsor such a development? Thanx a lot.

4

Re: feature request: domainadmin is able to edit & activate users vacation

You can add this function on your own.
It's great if you're willing to share your code.

5

Re: feature request: domainadmin is able to edit & activate users vacation

if i would try to do that. is there some plugin api to use, or do i need to hack the whole thing and wont be able to upgrade then? what about sponsored development for the pro version (i mean adding it to the ose doesnt make sense anyway as there are no domain-admins)? if sponsored developments are not officially offered, are there some third parties around that might be interested? and another question if we hack it into pro version, can we sell the patch/plugin?

6

Re: feature request: domainadmin is able to edit & activate users vacation

No plugin api available yet, sorry. You have to modify related source files of iRedAdmin-Pro (HTML/Python), and maintain your patch to make it work with future releases of iRedAdmin-Pro for your personal use.

I think you can sell the patch/plugin, but be careful, you cannot re-sell iRedAdmin-Pro.

7 (edited by toastbrot 2012-10-09 00:31:51)

Re: feature request: domainadmin is able to edit & activate users vacation

hm. ok i try myself, despite i personally think its a bad idea, but this feature is really a show stopper for us.

i could not find out what account is used as sieve "admin" to edit sieve rules for another user? i checked the generated "tips" file, but seems its none from there. i tried with system-root directly via telnet, but did not work. any idea? thanx
i always see this error: "Attempted master login with no master passdbs"

btw: i finished the sieve lib for a very simple but not so well maintained vacation-plugin for roundcube "rcvacation" (some fixes and working now also with forwards). if you're interested see here: https://sourceforge.net/tracker/?func=d … id=1168574 .the template needs to be fixed also: https://sourceforge.net/tracker/?func=d … id=1168574 this implementation relies on the 5.2 version of "managesieve" plugin which needs to be installed, BUT not activated.

in the end i try to do the same inside iredMail-pro as a new "tab" in user-settings... but i dont know python yet and i'll just call a php script that handles the sieve calls. inside roundcube we know the user and his password. inside iRedMail not. at least not to authenticate at sieve in plain. dont know yet if i can authenticate with the password-hash from the db. but if i can use that sieve-"admin" it would work... thanx

Post's attachments

Screenshot-4.png
Screenshot-4.png 45.95 kb, 1 downloads since 2012-10-08 

You don't have the permssions to download the attachments of this post.

8

Re: feature request: domainadmin is able to edit & activate users vacation

You need to config Dovecot to enable "master user", so that you can login as other user via managesieve protocol.
Reference:
- http://wiki2.dovecot.org/Authentication/MasterUsers
- http://wiki.dovecot.org/Authentication/MasterUsers

If you want to implement this in Python programming language, try python module "sievelib" or "managesieve".

9

Re: feature request: domainadmin is able to edit & activate users vacation

The admin-Pro should be able to add or modify vacation to the users.

And the admin should be able to see the current filter, so the admin can help the users with any problem (support).

It is possible?

Regards,

Ari

10

Re: feature request: domainadmin is able to edit & activate users vacation

Hi Ari,

Here's another discussion: http://www.iredmail.org/forum/topic4398 … panel.html