HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Update mail box quota on Main template Defined by Admin (http://www.howtoforge.com/forums/showthread.php?t=43536)

federico 18th February 2010 12:44

Update mail box quota on Main template Defined by Admin
 
Hi,
we have a production system based on CentOS 5.3 on which we have a distributed SPConfig 3.0.1.6 architecture.
We have defined a Main Template for client limits with "unlimited" mailbox quota.
Using this template we have defined several clients that manage about 100 mail domains on which it has been created about 5000 mailboxes.

The question is :if we set a new value of "mailbox quota" in the main template definition, will this value propagate to the clients already use the template, to their maildomains and finally to already created mailboxes?

If no, how can i change about 5000 mailbox quota without to go in the mailbox's properties via Hosting Control Panel?

Thanks
Federico

till 19th February 2010 09:50

Quote:

The question is :if we set a new value of "mailbox quota" in the main template definition, will this value propagate to the clients already use the template, to their maildomains and finally to already created mailboxes?
No. It will only get applied if you change a client or create a new one.

Quote:

If no, how can i change about 5000 mailbox quota without to go in the mailbox's properties via Hosting Control Panel?
You might have to write a script for it that uses the datalogUpdate function from the ispconfig mysql class to modify the settings in the database. Do not try to modify them directly in mysql as this will not change the users on the slave servers.

federico 22nd February 2010 09:32

Hi Till,

thanks for reply.

From the first part of your answer I understand that if I change the mailbox quota from the "client limits", the new value will get applied also to the already created mailboxes.
Is it correct?

Thanks

Federico

till 22nd February 2010 10:10

Quote:

From the first part of your answer I understand that if I change the mailbox quota from the "client limits", the new value will get applied also to the already created mailboxes.
This will get applied when you edit the mailbox the next time.


All times are GMT +2. The time now is 14:14.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.