configuration confusion with courier-imap / squirrelmail

From: Brendon Caligari (no.spam_at_example.com)
Date: 02/22/04


Date: Sun, 22 Feb 2004 22:15:11 -0000

I am lost somewhere, possibly with some triviality but can't get the folders
setting right in squirrelmail.

Server:
    Red Hat based system

procmail-3.22-9 (rpm install)
squirrelmail-1.4.2-1 (rpm install - squirrelmail.org)
courier-imap-2.2.2.20040207 (rpm install - built from inter7.com sources)

/etc/procmailrc:
PATH="/usr/bin:/usr/local/bin"
MAILDIR="$HOME/Maildir"
DEFAULT="$HOME/Maildir/"
SHELL="/bin/bash"
:0fw
| /usr/bin/spamassassin

~someuser/procmailrc
:0
* ^X-list: mrtg
.mrtg/
.
.
.
:0
* ^X-Spam-Status: Yes
.spam/

/etc/squirrelmail/config_local.php
<?php
/* Local config overrides.
   You can override the config.php settings here. Don't do it unless you
know what you're doing.
   Use standard PHP syntax, see config.php for examples. */

$imap_server_type = 'courier';
$default_folder_prefix = '';
?>

Regardless of my folder option settings in squirrelmail, I get, at best, a
folder list of:
 INBOX.Drafts
  INBOX.MailingLists
  INBOX.MailingLists.Whatever1
  INBOX.MailingLists.Whatever2
  INBOX.mrtg
  INBOX.Sent Items
  INBOX.spam

Any clue anybody?