Nice problem:)
I´ve been testing it on Squirrelmail 1.2.4 - 1.4.0 Beta, cant reproduce it! My .pref files are called username1.pref and username2.pref, i guess youres like that two ... have a look att you config.php
like....
$default_folder_prefix = ''; $trash_folder = 'INBOX.Trash'; $sent_folder = 'INBOX.Sent'; $draft_folder = 'INBOX.Drafts'; $default_move_to_trash = true; $default_move_to_sent = true; $default_save_as_draft = true; $show_prefix_option = false; $list_special_folders_first = true; $use_special_folder_color = true; $auto_expunge = true; $default_sub_of_inbox = true; $show_contain_subfolders_option = false; $default_unseen_notify = 2; $default_unseen_type = 1; $auto_create_special = true; $delete_folder = false; $noselect_fix_enable = false;
$default_charset = 'iso-8859-1'; $data_dir = SM_PATH . 'data/'; $attachment_dir = $data_dir; $dir_hash_level = 0; $default_left_size = '150'; $force_username_lowercase = false; $default_use_priority = true; $hide_sm_attributions = false; $default_use_mdn = true; $edit_identity = true; $edit_name = true; $allow_thread_sort = false; $allow_server_sort = false; $allow_charset_search = true; $uid_support = true;
$prefs_dsn = ''; $prefs_table = 'userprefs'; $prefs_user_field = 'user'; $prefs_key_field = 'prefkey'; $prefs_val_field = 'prefval'; $no_list_for_subscribe = false; $smtp_auth_mech = 'none'; $imap_auth_mech = 'login'; $use_imap_tls = false; $use_smtp_tls = false; $session_name = 'SQMSESSID';
or upgrade to a newer squirrelmail.
Actually, the original poster said he was using 1.2.11, which is the latest availalbe stable version. Perhaps it is a php issue? 4.0.4 is getting a little old. To the original poster: was this a fresh install of squirrelmail or was this an upgrade from an older version? If it was an upgrade, did you use the config.php file from your old distribution or start over with the one from SM 1.2.11? Upgrading SM can be a hassle, if changes were made to config.php you may need to merge your existing config.php with the new version's file. Also, what IMAP server are you using? Did you turn safe_mode on or set openbase_dir in php.ini (this caused headaches for me)? Did it ever work as expected or has it always behaved this way? My best advice still is to subscribe to the squirrelmail list and post your problem there.
Btw, Squirrelmail rocks!!!!
That it does...