Old 8th October 2010, 21:39
guimnk guimnk is offline
Join Date: Jul 2009
Posts: 91
Thanks: 7
Thanked 2 Times in 2 Posts
Default ISPConfig and VMail folders

Hi all..

I'm using roundcube with ISPConfig.

ISPConfig dont create a Sent, Draft, Junk (in /var/vmail/domain/user) and Trash folders when I create a new mail account.

How can I do to fix it?

I'm trying to input this code in /var/ww/ispconfig/mail/mail_user_edit.php

$Sent   = "/var/vmail/".$app->db->quote($_POST['email_domain'])."/".$this->dataRecord['email']."/.Sent";
$Drafts = "/var/vmail/".$app->db->quote($_POST['email_domain'])."/".$this->dataRecord['email']."/.Drafts";
$Junk   = "/var/vmail/".$app->db->quote($_POST['email_domain'])."/".$this->dataRecord['email']."/.Junk";
$Trash  = "/var/vmail/".$app->db->quote($_POST['email_domain'])."/".$this->dataRecord['email']."/.Trash";

mkdir($Sent, 0755);
mkdir($Drafts, 0755);
mkdir($Junk, 0755);
mkdir($Trash, 0755);

chmod($Sent, "vmail");
chmod($Drafts, "vmail");
chmod($Junk, "vmail");
chmod($Trash, "vmail");
But the webserver user cant create that..
Reply With Quote
Sponsored Links
Old 8th October 2010, 22:15
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,388
Thanks: 833
Thanked 5,485 Times in 4,317 Posts

all newer ispconfig versions create these folders automatically. you should update ispconfig on your server to 3.0.3.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


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
mailbox structure crypted General 8 26th July 2012 20:22
Fetchmail mingccm Installation/Configuration 1 30th June 2010 10:00
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
Courier And Mysql Doginal Installation/Configuration 11 24th January 2010 07:35
can`t login to ispconfig 3 mestor Installation/Configuration 2 4th July 2008 18:25

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

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