Current time: 04-20-2024, 10:48 AM Hello There, Guest! (LoginRegister)


Post Reply 
Roundcube quota error
Author Message
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #21
RE: Roundcube quota error
(03-13-2009 08:31 AM)FISA4 Wrote:  Sorry for my poor english, i am a native german. Wink

yeah well nobody is perfect ;-)
03-13-2009 09:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #22
RE: Roundcube quota error
(03-13-2009 09:24 AM)rbtux Wrote:  yeah well nobody is perfect ;-)

Tongue

[EDIT Part 2 - Write SQL]

in /var/www/ispcp/gui/include/ispcp-mailquota.php
add to the end:
Code:
if(isset($_POST['Submit']))
{
$_POST['mailboxquota'] = $_POST['mailboxquota'] * 1024 * 1024;
$sql0="UPDATE `mail_users` SET `quota` = '".$_POST['mailboxquota']."' WHERE `domain_id` = '".$_SESSION['edit_id']."';";
$result = mysql_query($sql0);
mysql_close();
}

READY !!!
All Mailboxes for the specific user are set to the new quota after "Edit Domain".
[/EDIT]
(This post was last modified: 03-13-2009 11:23 AM by FISA4.)
03-13-2009 09:32 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #23
RE: Roundcube quota error
*WOW* Cool!
If i have enough FreeTime i will test it.

Thanks & Greez
BeNe
03-13-2009 04:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #24
RE: Roundcube quota error
(03-13-2009 04:45 PM)BeNe Wrote:  *WOW* Cool!
If i have enough FreeTime i will test it.

Thanks & Greez
BeNe

Thanks for the Ticket with the patch.
HERE IS THE TICKET

Greets

FISA4
03-13-2009 11:13 PM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #25
RE: Roundcube quota error
(03-13-2009 11:13 PM)FISA4 Wrote:  Thanks for the Ticket with the patch.
HERE IS THE TICKET

Greets

FISA4

does this patch only works with dovecot or we can use it with the standard installation of ispcp?
03-14-2009 04:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
fhawk Offline
Junior Member
*

Posts: 29
Joined: Mar 2009
Reputation: 1
Post: #26
RE: Roundcube quota error
Dovecot is an imap server,do you install courier-imap too???
03-14-2009 07:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #27
RE: Roundcube quota error
Quote:does this patch only works with dovecot or we can use it with the standard installation of ispcp?
No, only with DoveCot!

Quote:Dovecot is an imap server,
yes!
Quote:do you install courier-imap too???
No, only Dovecot. You must uninstall courier.

Greez BeNe
03-15-2009 01:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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