I agree. It has become particularly important now that certain programs, like Outlook 2013 for Windows, LOOK for the folders like "Sent" and use them if there, but default to LOCAL Sent folders if they don't find them.
Try this little script I wrote. Takes the email address as the argument.
#!/usr/bin/perl
$data = $ARGV[0];
if ( $data !~ /([0-9A-Za-z\.\-\_\'\+\~\*\{\}]+\@[0-9A-Za-z\.\-\_]+\.[a-zA-Z]{2,8})/ ) {
print "Invalid Email Address\n\n"; exit;
}
( $username, $domain ) = split(/\@/,$data);
print "User = $username\n";
print "Domain = $domain\n";
$path = "/var/qmail/mailnames/$domain/$username/Maildir";
@folders = ("Drafts","Sent","Trash","Junk","Spam");
@subfolders = ("new","tmp","cur");
foreach $folder (@folders) {
$command = "mkdir $path/.$folder";
print `$command`;
#print "\n";
$command = "chmod 700 $path/.$folder";
print `$command`;
#print "\n";
$command = "chown popuser $path/.$folder";
print `$command`;
#print "\n";
foreach $subfolder (@subfolders) {
$command = "mkdir $path/.$folder/$subfolder";
print `$command`;
print "\n";
$command = "chmod 700 $path/.$folder/$subfolder";
print `$command`;
print "\n";
$command = "chown popuser $path/.$folder/$subfolder";
print `$command`;
print "\n";
}
}