Current time: 12-24-2024, 12:51 AM Hello There, Guest! (LoginRegister)


Post Reply 
[Howto] Per user quota edit within ispcp when using dovecot
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #21
RE: [Howto] quota modification within ispcp when using dovecot
(09-08-2010 12:38 AM)iwik Wrote:  Hi, this seems to be very useful patch. But it seems it does not take care about total space occupied by mailboxes under each domain. Users (domain admins) are able to edit mailbox quota, but reseller is not able to limit total space for domain emails. Is some way or plans how to implement this limit?
Sometime ago I did a bit of research about this, and wasn't able to get this working.
According to dovecot wiki, you might be able to accomplish something like this using an extra quota root, but not sure about how to do this.

http://wiki1.dovecot.org/Quota/1.1

Maybe you could look up at the dovecot mailing lists, there's plenty of information and Timo Sirainen the lead developer is really helpful and friendly.
09-08-2010 05:21 PM
Find all posts by this user Quote this message in a reply
krok Offline
Junior Member
*

Posts: 23
Joined: Dec 2008
Reputation: 0
Post: #22
RE: [Howto] quota modification within ispcp when using dovecot
Hi, sorry for my english is very bad

i apply the patch to ispcp 1.0.5


virtual1:/var/www/ispcp/gui# patch < /root/script/patch_quota_ispcp -p0
patching file themes/omega_original/client/mail_edit.tpl
patching file themes/omega_original/client/mail_add.tpl
patching file client/mail_add.php
patching file client/mail_edit.php
virtual1:/var/www/ispcp/gui#

but when i edit an domain email : access denied
when i had an email address : access denied

a solution ?
i find

the 4 files have wrong permissions after apply the patch (root:root)

works find with right permission (vu2000:www-data)
(This post was last modified: 09-15-2010 08:48 PM by krok.)
09-15-2010 08:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #23
RE: [Howto] quota modification within ispcp when using dovecot
(09-15-2010 08:42 PM)krok Wrote:  Hi, sorry for my english is very bad

i apply the patch to ispcp 1.0.5


virtual1:/var/www/ispcp/gui# patch < /root/script/patch_quota_ispcp -p0
patching file themes/omega_original/client/mail_edit.tpl
patching file themes/omega_original/client/mail_add.tpl
patching file client/mail_add.php
patching file client/mail_edit.php
virtual1:/var/www/ispcp/gui#

but when i edit an domain email : access denied
when i had an email address : access denied

a solution ?
i find

the 4 files have wrong permissions after apply the patch (root:root)

works find with right permission (vu2000:www-data)
Where did you got this patches?
And what tutorial are you following?
You should be using the newest version if you want to have have realtime quota numbers ...
http://isp-control.net/documentation/how...base_quota
09-15-2010 11:17 PM
Find all posts by this user Quote this message in a reply
N!Ce Offline
Newbie
*

Posts: 8
Joined: Jul 2010
Reputation: 0
Post: #24
RE: [Howto] quota modification within ispcp when using dovecot
Hi there,

I installed this patch on a VPS with Debian and ISPCP 1.05 using the link in the original post:
Improved version for 1.0.5
quota_1_0_5.tar.gz (Size: 12.46 KB / Downloads: 67)


Everything works find and the panel shows as in the attachment image of the original post:
http://isp-control.net/forum/attachment.php?aid=1384

With one exception: It doesn't show the quota column that can be seen on above image ("Us de quota"). Any ideas what that could be caused by? :/

Also, is there another place where I could check them?

Thanks in advance.
(This post was last modified: 11-19-2010 07:28 PM by N!Ce.)
11-19-2010 07:21 PM
Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #25
RE: [Howto] quota modification within ispcp when using dovecot
Is there a version for 1.0.7?

Thanks
Fluser
12-06-2010 06:43 PM
Find all posts by this user Quote this message in a reply
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #26
RE: [Howto] quota modification within ispcp when using dovecot
The newest version should work without problem, let me know if you're having trouble..
12-11-2010 04:24 AM
Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #27
RE: [Howto] quota modification within ispcp when using dovecot
Hello Aseques

It doesn't work with ispcp_edit_quota_1_0_8.tar.gz in 1.0.7
The problem is, that the user can't change any quotas. This problem exists for old and for new mailaccounts.

Best Regards
Fluser
12-11-2010 09:27 PM
Find all posts by this user Quote this message in a reply
Sweil Offline
Junior Member
*

Posts: 24
Joined: Mar 2009
Reputation: 2
Post: #28
RE: [Howto] quota modification within ispcp when using dovecot
(12-11-2010 09:27 PM)fluser Wrote:  Hello Aseques

It doesn't work with ispcp_edit_quota_1_0_8.tar.gz in 1.0.7
The problem is, that the user can't change any quotas. This problem exists for old and for new mailaccounts.

Best Regards
Fluser
same here
neither quota_1_0_5.tar.gz nor ispcp_edit_quota_1_0_8.tar.gz works with 1.0.7...
(This post was last modified: 01-04-2011 01:08 PM by Sweil.)
01-04-2011 12:03 PM
Find all posts by this user Quote this message in a reply
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #29
RE: [Howto] quota modification within ispcp when using dovecot
(01-04-2011 12:03 PM)Sweil Wrote:  
(12-11-2010 09:27 PM)fluser Wrote:  Hello Aseques

It doesn't work with ispcp_edit_quota_1_0_8.tar.gz in 1.0.7
The problem is, that the user can't change any quotas. This problem exists for old and for new mailaccounts.

Best Regards
Fluser
same here
neither quota_1_0_5.tar.gz nor ispcp_edit_quota_1_0_8.tar.gz works with 1.0.7...

Sorry guys, this used to work in trunk when 1.0.8 was not released, I have currently no time to make the modifications to the source. If you want to have a look at the code, it's quite simple ...
If you are able to fix this, I'll be glad to post your code in this thread.
01-07-2011 05:57 PM
Find all posts by this user Quote this message in a reply
bebezavar Offline


Posts: 1
Joined: Mar 2010
Reputation: 0
Post: #30
RE: [Howto] Per user quota edit within ispcp when using dovecot
Hi guys,

The problem for 1.07 is that in php files which are in archive are used:

Config::get(......),

which is deprecated in v. 1.0.7 should be
$cfg =ispCP_Registry::get('Config');

I' have managed to make it work and here is the attachment in archive.

All php files goes to /var/www/ispcp/gui/client, and all tpl files goes to /var/www/ispcp/gui/themes/omega_original/client

regards to all


Attached File(s)
.gz  quota_omega_107.tar.gz (Size: 12.56 KB / Downloads: 17)
06-15-2011 03:31 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 5 Guest(s)