HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Mail folders aren't being created (http://www.howtoforge.com/forums/showthread.php?t=22945)

bswinnerton 4th May 2008 04:49

Mail folders aren't being created
 
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?

till 4th May 2008 11:54

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

$rcmail_config['imap_root'] = 'INBOX';

bswinnerton 4th May 2008 17:16

=/ Still nothing. I tried restarting courier using:

Code:

sudo /etc/init.d/courier-autdaemon restart

bswinnerton 4th May 2008 17:24

Solved

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

Thanks!


All times are GMT +2. The time now is 20:23.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.