Mail folders aren't being created

Discussion in 'Installation/Configuration' started by bswinnerton, May 4, 2008.

  1. bswinnerton

    bswinnerton New Member

    Hey guys,

    I'm having a little bit of trouble. Whenever I create a new mail user I don't get any of the other folders (E.G. junk, trash, sent etc). I'm pretty sure that this is up to your mail client to do, and I do have it set up. But for some reason it isn't working anymore.

    Here is part of my roundcube config file:

    Code:
    // only list folders within this path
    $rcmail_config['imap_root'] = '';
    
    // store draft message is this mailbox
    // leave blank if draft messages should not be stored
    $rcmail_config['drafts_mbox'] = 'Drafts';
    
    // store spam messages in this mailbox
    $rcmail_config['junk_mbox'] = 'Junk';
    
    // store sent message is this mailbox
    // leave blank if sent messages should not be stored
    $rcmail_config['sent_mbox'] = 'Sent';
    
    // move messages to this folder when deleting them
    // leave blank if they should be deleted directly
    $rcmail_config['trash_mbox'] = 'Trash';
    
    // display these folders separately in the mailbox list.
    // these folders will automatically be created if they do not exist
    $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
    
    And I was just poking around in my ISPConfig error logs, and found this:

    Code:
    du: cannot read directory `/var/www/web11/user/newdomain.com_webmaster/.spamassassin': Permission denied
    du: cannot read directory `/var/www/web11/user/newdomain.com_webmaster/Maildir': Permission denied
    du: cannot read directory `/var/www/web11/user/newdomain.com_abuse/.spamassassin': Permission denied
    du: cannot read directory `/var/www/web11/user/newdomain.com_abuse/Maildir': Permission denied
    du: cannot read directory `/var/www/web11/user/newdomain.com_webmaster/.spamassassin': Permission denied
    du: cannot read directory `/var/www/web11/user/newdomain.com_webmaster/Maildir': Permission denied
    du: cannot read directory `/var/www/web11/user/newdomain.com_abuse/.spamassassin': Permission denied
    du: cannot read directory `/var/www/web11/user/newdomain.com_abuse/Maildir': Permission denied
    
    Could that have anything to do with it?
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    If you use courier, try to set imap root to:

    $rcmail_config['imap_root'] = 'INBOX';
     
  3. bswinnerton

    bswinnerton New Member

    =/ Still nothing. I tried restarting courier using:

    Code:
    sudo /etc/init.d/courier-autdaemon restart
     
  4. bswinnerton

    bswinnerton New Member

    Solved

    When I updated RoundCube I kept the old config file and never thought to go back and update the new one.

    Thanks!
     

Share This Page