View Single Post
  #4  
Old 15th August 2011, 12:50
osterhase osterhase is offline
Member
 
Join Date: Jul 2011
Location: Germany
Posts: 61
Thanks: 6
Thanked 7 Times in 5 Posts
Default

I do not mean to rise this from the dead, but for the sake of completeness:

Code:
if(!is_dir($data['new']['dir'].'/sieve')) {
	mkdir($maildomain_path.'/sieve', 0700);
	exec("chown ".escapeshellcmd($mail_config['mailuser_name']).":".escapeshellcmd($mail_config['mailuser_group'])." ".escapeshellcmd($maildomain_path)."/sieve");
}
Thanks for your help!
Reply With Quote