#1  
Old 4th January 2009, 23:14
aaronr aaronr is offline
Junior Member
 
Join Date: Jan 2009
Location: London, England
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via AIM to aaronr Send a message via MSN to aaronr
Default Issues with 3.0.0.8 / RC1

I'm running Ubuntu 8.10, running RC1 from installer, updated to latest SVN revision with update script.

Now for a bunch of issues!

1) When adding a client, if I let them access the Sites module, they can adjust their own bandwidth/disk space quota, even though they're not an admin. Is there any way to avoid this without making a custom version of the Sites module without the Domains menu item?
Update: I've since realised it doesn't actually save changes made. Perhaps disabling the form fields when not an admin would cause less confusion?

2) The DNS wizard allows users to add DNS zones beyond their quota.

3) The top navigation tabs do not stay in the same order after altering the admin user.

4) What's the difference between FTP quota and Web disk quota?

5) Non admin users can edit their FTP quotas.

6) Also, to log in, Safari requires the login button be clicked -- hitting enter after typing in the password doesn't work, it just returns you to a blank login dialog.

7) The job queue periodically jams up -- jobs stack up, but none of them ever get actioned. Restarting the machine didn't clear things. Took a look in /var/log/ispconfig/cron.log and saw a whole stack of these:
Code:
maildirmake: /var/vmail/unadopted.lan/aaron: No such file or directory
chown: cannot access `/var/vmail/unadopted.lan/aaron': No such file or directory
8) Port 143 is closed in the firewall by default, killing IMAP out of the box.

Last edited by aaronr; 4th January 2009 at 23:44.
Reply With Quote
Sponsored Links
  #2  
Old 11th January 2009, 02:04
croemmich croemmich is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 4 Times in 2 Posts
 
Default Maildirmake

I also had the same problem with the maildirmake.

I rewrote the function insert_user in mail_plugin.inc.php

This code seems to be working correctly on insert, I did also see mention of problems with moving a mailbox, I am investigating that also.

Please note, I do not have any official part of this project, however, if admin's would like to use my code, please feel free.


mail_plugin.inc.php
Code:
	function user_insert($event_name,$data) {
		global $app, $conf;
		
		// get the config
		$app->uses("getconf");
		$mail_config = $app->getconf->get_server_config($conf["server_id"], 'mail');
		
		$maildomain_path = $data['new']['maildir'];
		$tmp_basepath = $data['new']['maildir'];
		$tmp_basepath_parts = explode('/',$tmp_basepath);
		unset($tmp_basepath_parts[count($tmp_basepath_parts)-1]);
		$base_path = implode('/',$tmp_basepath_parts);
		
		// Create the mail domain directory, if it does not exist
		if(!empty($base_path) && !is_dir($base_path)) {
			exec("su -c 'mkdir -p ".escapeshellcmd($base_path)."' ".$mail_config['mailuser_name']);
			$app->log('Created Directory: '.$base_path,LOGLEVEL_DEBUG);
		}
		
		// Create the maildir, if it doesn not exist, set permissions, set quota.
		if(!empty($maildomain_path) && !is_dir($maildomain_path)) {
			exec("su -c 'maildirmake ".escapeshellcmd($maildomain_path)."' ".$mail_config['mailuser_name']);
			exec('chown -R '.$mail_config['mailuser_name'].':'.$mail_config['mailuser_group'].' '.escapeshellcmd($data['new']['maildir']));
			$app->log("Set ownership on ".escapeshellcmd($data['new']['maildir']),LOGLEVEL_DEBUG);
			exec("su -c 'maildirmake -q ".$data['new']['quota']."S ".escapeshellcmd($maildomain_path)."' ".$mail_config['mailuser_name']); // Avoid quota bug
			$app->log('Created Maildir: '."su -c 'maildirmake -q ".$data['new']['quota']."S ".escapeshellcmd($maildomain_path)."' ".$mail_config['mailuser_name'],LOGLEVEL_DEBUG);
		}
	}
Reply With Quote
The Following 2 Users Say Thank You to croemmich For This Useful Post:
falko (11th January 2009), till (11th January 2009)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.0.8 RC1 released till General 92 22nd February 2010 09:52
3.0.0.8 rc1 mail relay problem booten General 3 5th January 2009 12:24
Release of ISPConfig 3 RC1 and feature freeze till Developers' Forum 7 29th December 2008 22:48
Couple issues with ispconfig 2.2.12 after Fiesty upgrade pyropoptrt Installation/Configuration 15 1st May 2007 20:37
ISPConfig + Turck MMCache + Hardened-PHP - Any Issues? BobbyQ General 8 3rd May 2006 22:52


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


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