We have set the imap root as follows in order to have all mail stored in a separate folder inside the home directory of each user:
$rcmail_config['imap_root'] = 'mail/';
Unfortunately if imap root is set, our users are unable to move any mail back to their inbox folders. Moving mail between other folders works like a charm. Is this a known problem? And if it is, is there any way around this?
Regards, Moritz
Why don't you use procmail to filter messages' destinations?
Something likes..
LOGFILE=$HOME/pm_logfile
VERBOSE=off
MAILDIR=$HOME/.maildir
:0:
* ^List-Id:.*gentoo-user\.gentoo\.org
.gentoo/
:0:
* ^List-Id:.*bugs\.mandrivalinux\.org
.cooker/
:0:
All messages will go to $HOME/.maildir (new message will be in your Inbox). Mail from Gentoo list will go to Gentoo folder. Mail from Mandriva list will go to cooker folder.