Tentative support for mercury/32 as a preset.
authortassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 15 Sep 2003 14:05:31 +0000 (14:05 +0000)
committertassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 15 Sep 2003 14:05:31 +0000 (14:05 +0000)
For reference, the values I used were taken directly from a message on the squirrelmail-users list.  See Message-ID: <007e01c37a6c$ebab8910$b700a8c0@tora> in the archives for details.

If you use Mercury, now would be a good time to double-check the defaults I've put in.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5721 7612ce4b-ef26-0410-bec9-ea0150e637f0

config/conf.pl

index b601f4772572722203a2d6e7d1c5c8f47af9186a..08d3223496e69c29b6f65f304c7b4c8f01924ea8 100755 (executable)
@@ -2912,6 +2912,7 @@ sub set_defaults {
         print "    exchange   = Microsoft Exchange IMAP server\n";
         print "    courier    = Courier IMAP server\n";
         print "    macosx     = Mac OS X Mailserver\n";
+        print "    mercury32  = Mercury/32\n";
         print "    quit       = Do not change anything\n";
         print "Command >> ";
         $server = <STDIN>;
@@ -2989,6 +2990,20 @@ sub set_defaults {
             $allow_charset_search           = false;
             $disp_default_folder_prefix     = $default_folder_prefix;
 
+            $continue = 1;
+        } elsif ( $server eq "mercury32" ) {
+            $imap_server_type               = "mercury32";
+            $default_folder_prefix          = "";
+            $trash_folder                   = "INBOX.Trash";
+            $sent_folder                    = "INBOX.Sent";
+            $draft_folder                   = "INBOX.Drafts";
+            $show_prefix_option             = false;
+            $default_sub_of_inbox           = true;
+            $show_contain_subfolders_option = true;
+            $optional_delimiter             = "detect";
+            $delete_folder                  = true;
+            $force_username_lowercase       = true;
+
             $continue = 1;
         } elsif ( $server eq "quit" ) {
             $continue = 1;