Old 5th January 2009, 00: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 / 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:
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; 5th January 2009 at 00:44.
Reply With Quote
Sponsored Links
Old 11th January 2009, 03: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.

	function user_insert($event_name,$data) {
		global $app, $conf;
		// get the config
		$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);
		$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)


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 RC1 released till General 92 22nd February 2010 10:52 rc1 mail relay problem booten General 3 5th January 2009 13:24
Release of ISPConfig 3 RC1 and feature freeze till Developers' Forum 7 29th December 2008 23:48
Couple issues with ispconfig 2.2.12 after Fiesty upgrade pyropoptrt Installation/Configuration 15 1st May 2007 21:37
ISPConfig + Turck MMCache + Hardened-PHP - Any Issues? BobbyQ General 8 3rd May 2006 23:52

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

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