[Dovecot] Squirrelmail + Dovecot + Maildir

Troy Engel tengel at fluid.com
Wed Dec 19 23:55:10 EET 2007


Vicki Stanfield wrote:
> 
> Here is what I see in /etc/squirrelmail/config.php
> 
> $optional_delimiter     = '.';
> [snip]
> $default_folder_prefix          = '';
> $trash_folder                   = 'Trash';
> $sent_folder                    = 'Sent';
> $draft_folder                   = 'Drafts';
> $default_move_to_trash          = true;
> $default_move_to_sent           = true;
> $default_save_as_draft          = true;

This may or not be related, but I had a lot of trouble getting SM to 
work in it's "dovecot" mode, I'm not sure it's entirely up to snuff - I 
haven't spent the time to debug. Instead I switched it back to Courier 
mode (we migrated from Courier) and it works like a champ - you just 
need to adjust your $default_folder_prefix if you don't actually run 
Dovecot in Courier-like mode (namespace), I do believe.

Here are what I believe to be the bits out of my config.php that matter:

$imapServerAddress      = '127.0.0.1';
$imapPort               = 143;
$imap_server_type       = 'courier';
$invert_time            = false;
$optional_delimiter     = '.';

$default_folder_prefix          = 'INBOX.';
$trash_folder                   = 'Trash';
$sent_folder                    = 'Sent';
$draft_folder                   = 'Drafts';
$default_move_to_trash          = true;
$default_move_to_sent           = true;
$default_save_as_draft          = true;
$show_prefix_option             = false;
$auto_expunge                   = true;
$default_sub_of_inbox           = false;
$show_contain_subfolders_option = false;
$auto_create_special            = true;
$delete_folder                  = true;
$noselect_fix_enable            = false;

$allow_thread_sort        = true;
$allow_server_sort        = true;
$allow_charset_search     = true;
$uid_support              = true;

$no_list_for_subscribe = false;
$imap_auth_mech = 'login';
$use_imap_tls = false;

The matching namespace in dovecot.conf that goes along with this is:

# Courier-IMAP friendly
namespace private {
   separator = .
   prefix = INBOX.
   inbox = yes
}

Hope this helps some,
-te

-- 
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com


More information about the dovecot mailing list