View Single Post
  #2  
Old 3rd October 2005, 12:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

You can either have your users create those folders with their email client, or you create those folders with ISPConfig when you create a new user.
For the latter, you'd have to modify the function user_insert() in /root/ispconfig/scripts/lib/config.lib.php.

In line 654 you could insert something like this:
PHP Code:
exec("maildirmake ".$web_path."/user/".$user_username."/Maildir &> /dev/null");
exec("maildirmake -f Drafts ".$web_path."/user/".$user_username."/Maildir &> /dev/null"); 
That would for example create a Drafts directory within Maildir.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote