[horde] Creating Default Folders (Sent, Trash, Spam, Drafts)

Brian Spraker spraker at yahoo.com
Fri Feb 17 23:59:13 UTC 2012


Another question for everyone -

When a new user is created on my system, I have a "template_account" directory that contains the Maildir folder and other folder setups.  This includes folders:

.Spam
.Sent
.Trash
.Drafts

They are hidden folders (as indicated by the dot in front) - which was done just like the previous version of Horde that was used.

When a new user is created, they login - but they only have "Inbox" and do not have the other folders showing up.  Additionally, if I go into the Preferences, I see that all of the preferences for those folders are not set appropriately.

In the imp/config/prefs.php file, it shows that they are set properly:

$_prefs['sent_mail_folder'] = array(
    'value' => Horde_String::convertCharset('Sent', 'UTF-8', 'UTF7-IMAP')
);

$_prefs['trash_folder'] = array(
    'value' => Horde_String::convertCharset('Trash', 'UTF-8', 'UTF7-IMAP')
);

$_prefs['spam_folder'] = array(
    'value' => Horde_String::convertCharset('Spam', 'UTF-8', 'UTF7-IMAP')
);

$_prefs['drafts_folder'] = array(
    'value' => Horde_String::convertCharset('Drafts', 'UTF-8', 'UTF7-IMAP')
);

Can anyone provide guidance as to why Horde Webmail is not showing up those default folders under Inbox for new users - and why the preferences are not set like that?

Thank you!

Brian S.


More information about the horde mailing list