1

Topic: Problem with default 'Sent' folder and roundcube webmail

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu Server 14.04 LTS
- Store mail accounts in which backend (MySQL):
- Web server (Apache or Nginx): Both
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====

Hi,

I have this odd issue that has been taking me for a spin. It happens that every now and then after login to webmail the default 'Sent' folders is not assigned as default special folder. In fact, the default Sent folder in webmail will get just blanked --------------  as if it were unassigned.

I've looked at my roundcube configuration and default folders are there set to be created, protected and specified. For example:

./roundcubemail/config.inc.php

$config['default_folders'] = array('INBOX', 'Notes', 'Archive', 'Drafts', 'Sent', 'Junk', 'Trash');
$config['show_real_foldernames'] = true;
$config['create_default_folders'] = true;
$config['protect_default_folders'] = true;
$config['drafts_mbox'] = 'Drafts';
$config['junk_mbox'] = 'Junk';
$config['sent_mbox'] = 'Sent';
$config['trash_mbox'] = 'Trash';
$config['quota_zero_as_unlimited'] = true;

Looking at dovecot configuration I see no problems either:

# Reference: http://wiki2.dovecot.org/Plugins/MailboxAlias
    mailbox_alias_old = Sent
    mailbox_alias_new = Sent Messages
    mailbox_alias_old2 = Sent
    mailbox_alias_new2 = Sent Items

...

namespace {
    type = private
    separator = /
    prefix =
    #location defaults to mail_location.
    inbox = yes

    mailbox Sent {
        auto = subscribe
        special_use = \Sent
    }
    # This is an alias mailbox for "Sent".
    # Reference: http://wiki2.dovecot.org/MailboxSettings
    mailbox "Sent Messages" {
        auto = no
        special_use = \Sent
    }


Has anyone else experienced this odd behavior?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Problem with default 'Sent' folder and roundcube webmail

Ok, I found the problem. It looks like there was a folder named 'Sent Messages' created... somehow in the identity (possibly from connecting with other clients such as Outlook or similar). Interesting enough the folder is never created in the backend since dovecot "translates" the folder as an alias.

So if anyone runs into the same glitch as I did, login to webmail, make sure to set 'Sent' folder as Special Folder and delete the 'Sent Folder' in webmail... basically it is nothing but a roundcube identity thing (database record).

This topic can be closed.

3

Re: Problem with default 'Sent' folder and roundcube webmail

Thanks for sharing. smile