View Single Post
  #6  
Old 23rd April 2009, 17:00
ihamouda ihamouda is offline
Junior Member
 
Join Date: Jan 2009
Posts: 13
Thanks: 0
Thanked 2 Times in 2 Posts
Default

you need to add the maildirmake command not the mkdir command like the follwoing:

to add a .Spam folder use the -f option and don't forget the su -c surrounding the whole command


exec("su -c 'maildirmake -f Spam ".escapeshellcmd($maildomain_path)."' ".$mail_config['mailuser_name']);
Reply With Quote