View Single Post
Old 1st November 2010, 10:25
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,655 Times in 4,464 Posts

It should be nice to have options for quotas on domains one day, together or instead of user quotas
We would implement this if one of the supported lda's has such a feature. But neither courier nor dovecot supports this.

What i can modify please?
I have about 15 modifications on default setup so one more is fine .o)
You will have to modify the code in the /usr/local/ispconfig/interface/web/mail/mail_user_edit.php file and add e.g. a line like this right after line 95:

if($this->id == 0) $tmp_user["policy_id"] = 5;

where 5 is the numeric ID of the policy that you want to select as default. So the resulting file part looks like this:

$policy_select = "<option value='0'>".$app->tform->lng("no_policy")."</option>";
if($this->id == 0) $tmp_user["policy_id"] = 5;
if(is_array($policys)) {
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote