Author Topic: Unable to move mail back to inbox  (Read 4416 times)

Offline mjehlenz

  • Newbie
  • *
  • Posts: 1
Unable to move mail back to inbox
« on: October 02, 2007, 08:05:56 AM »
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:

Code: [Select]
$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

Offline quattr0

  • Newbie
  • *
  • Posts: 1
Re: Unable to move mail back to inbox
« Reply #1 on: October 19, 2007, 09:49:51 AM »
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.