Skip to content

Roundcube: create default folders at first user login #8104

Description

@federicoballarini

When you create a new user and log into Roundcube webmail, only the Inbox, Trash, and Junk folders are created. The Drafts and Sent folders are not created until the user sends an outbound email.
This can cause problems if an IMAP client is configured before the Drafts and Sent folders exist. For example, Italian Outlook creates Posta inviata instead of Sent if the latter does not already exist, and some mobile apps throw an error when copying a sent message.

Proposed solution

Add the following line to the Roundcube configuration to create the default folders at user login:

$config['create_default_folders'] = true;

Alternative solutions

The user manually creates the folders by sending a message.

Additional context

Adding the line above to /home/roundcubemail1/.config/state/config/config.nethserver.php was tested and seems to work fine.

See also

Nethesis Helpdesk ticket #203802

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions