Current time: 12-23-2024, 08:19 PM Hello There, Guest! (LoginRegister)


Post Reply 
[solved] default mail quota
Author Message
kouga Offline
Junior Member
*

Posts: 22
Joined: May 2009
Reputation: 0
Post: #1
[solved] default mail quota
Hi all,

I want to change the default mail quota size.
At the moment it is set to 10Mb.
Wish to change it to 50Mb.

Is /etc/ispcp/database/database.sql the right one to edit?
Or, is there some other file needed to edit.

Someone, please help...Sad
(This post was last modified: 11-18-2009 02:24 PM by kouga.)
11-17-2009 05:30 PM
Find all posts by this user Quote this message in a reply
Knut Offline
Member
***

Posts: 736
Joined: Nov 2006
Reputation: 10
Post: #2
RE: default mail quota
For change the sending mail quota you must add a value at /etc/postfix/main.cf

Code:
pico /etc/postfix/main.cf
Code:
# Message size limit
# => 0 for unlimited
# => 104857600 for 100 MB
message_size_limit           = 52428800

don't forget to restart postfix


Knut
11-17-2009 05:46 PM
Find all posts by this user Quote this message in a reply
kouga Offline
Junior Member
*

Posts: 22
Joined: May 2009
Reputation: 0
Post: #3
RE: default mail quota
Thanks for your quick reply, KnutBig Grin

Sorry for the rack of explanation.
I meant to change the default mail quota in mysql database.

My ispCP runs with Dovecot's quota plug-in with mysql at backend.
I need the default quota set to 50Mb, and let my client change the
quota size by phpmyadmin or using Web interface mentioned HERE.


(11-17-2009 05:46 PM)Knut Wrote:  For change the sending mail quota you must add a value at /etc/postfix/main.cf

Code:
pico /etc/postfix/main.cf
Code:
# Message size limit
# => 0 for unlimited
# => 104857600 for 100 MB
message_size_limit           = 52428800

don't forget to restart postfix


Knut
11-17-2009 06:16 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: #4
RE: default mail quota
We've did some small changes in the interface to allow the quota modification, I'll look for the script and post it somewhere...
11-17-2009 06:47 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: #5
RE: default mail quota
We are currently using this patch (it should apply cleanly on rev2175 branch 1.0.3).
It allows you ONLY IF you are using DOVECOT, to be able to edit the quota from the control pannel.
It's not the same patch you posted, our version is simpler and only does the quota stuff.
It's only valid for dovecot because, with courier you are not reading the mailboxes information from the database directly as you do with dovecot.

To change the default quota I think you have to alter the database to match the value you need. It's better if you do it directly from phpmyadmin changing the structure of the table.


Attached File(s)
.patch  ispcp_edit_quota.patch (Size: 10.03 KB / Downloads: 21)
11-17-2009 08:53 PM
Find all posts by this user Quote this message in a reply
kouga Offline
Junior Member
*

Posts: 22
Joined: May 2009
Reputation: 0
Post: #6
RE: default mail quota
aseques,

Thank you for the great patch!! I will try this later.

Meanwhile, I still don't have a clue how to change the default mail quota.
I'm a bit confused by the suggested method you gave me.
"directly from phpmyadmin changing the structure of the table. "
How is this possible...?
11-18-2009 12:01 PM
Find all posts by this user Quote this message in a reply
kouga Offline
Junior Member
*

Posts: 22
Joined: May 2009
Reputation: 0
Post: #7
RE: default mail quota
aseques,

I got it!!!
Default mail quota has been changed to 50MB!!!

Thank you so much for your helpSmile
11-18-2009 02:24 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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