Hello,
-- A word before --It could be, that I've some general Problem understanding the architecture which I should use.
Allthough, I have the following setup:
dovecot, postfix, roundcube
For storage, Maildir is used (not mbox)
Now, roundcube looks best of all tools i tried, and I want to keep it. But I'm a "bit" in struggle with the folders (Trash, Drafts, Sent).
As far as I know, those are (or should be) handled by the IMAP Server. Allthough, the Server itself does not need them, and the interface just "moves" the mails around. Since they're not necessary for IMAP, they're not automatically created by dovecot.
-- Problem Description --My "inbox", or IMAP folder located in /home/vmailer/grabler.net/test@grabler.net
The Directory looks as follows:
.
./dovecot.index.cache
./dovecot.index.log
./new
./dovecot.index
./cur
./cur/1216917094.V801I164010M461283.ggrabler.xenway.de:2,
./cur/1216916902.V801I164018M603190.ggrabler.xenway.de:2,
./subscriptions
./dovecot-uidlist
./tmp
Now, so far so fine. I need the Trash and so on, configured in roundcube:
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
$rcmail_config['create_default_folders'] = TRUE;
Allthough, no folders are created on login.
The question is:
- How are folders created? By a system call, or IMAP interaction?
- Should the Folders Pre-Exist for roundcube to recognize them?
- If so, is there any way to automate this?
- Could it be possible, that I'd need an other abstraction (like /home/vmailer/grabler.net/test@grabler.net/INBOX|Trash|Sent|Junk)?
I tried a bit further, even when I don't know how the folders are expected:
I created the following folder structure, and hoped roundcube will find them:
cd /home/vmailer/grabler.net/test@grabler.net
mkdir -p .Drafts/{cur,new,tmp}
mkdir -p .Trash/{cur,new,tmp}
mkdir -p .Sent/{cur,new,tmp}
mkdir -p .Junk/{cur,new,tmp}
chown -R vmailer.vmail *
To be true, without any result. The dovecot documentation tells me, that "standard" is ".Trash" and not "Trash". Allthough, I can't confirm that.
Maybe the structure should be something like
test@grabler.net/Maildir
test@grabler.net/Trash
test@grabler.net/Sent
...
-- Error Logs--The error logs do not show any information about those things failing or succeeding. Not the mail log, and not the roundcube error log.
Kind regards,
// STi