View Single Post
  #4  
Old 1st November 2010, 09:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
Default

Quote:
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.

Quote:
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 ispconfig.org.
Reply With Quote