Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: awillbard on November 15, 2010, 10:36:45 AM

Title: Sent folder Not created Automaticaly
Post by: awillbard on November 15, 2010, 10:36:45 AM
My round cube 0.31 server corrupted, luckily I had backup, I decided to install round cube 4.2, and populate the old database to it, everything went fine except that when a user who was  created from a backup login , the Sent, Drafts, Junk and Trash are not created automatically, I have to manually create them  after a user logs in, although I have set $rcmail_config['create_default_folders'] = TRUE;  in main.inc.php,

The folder are successfully created automatically when I create a new user.
Title: Sent folder Not created Automaticaly
Post by: JohnDoh on November 15, 2010, 12:57:42 PM
this is how its meant to work. folders are only auto created the very first time a user logs in because otherwise if they logged in and then deleted the folder it would come back everytime they login.

i suggest you either delete the users from the rc database (then it will be the very first time they have logged in) or restore your users' mailboxes from the backup.
Title: Sent folder Not created Automaticaly
Post by: awillbard on November 16, 2010, 02:09:31 AM
This Problem started when I restored my users from the mailbox Backup, only the Inbox folder is created automatically, is there no way I can create them globally and then populate them to all accounts?
Title: Sent folder Not created Automaticaly
Post by: JohnDoh on November 17, 2010, 02:34:48 PM
Thats not really a Roundcube question, it depends on your server setup. You could write a script may be that goes though all your mailboxes and creates the folders if they are missing i guess.