Browse Source

Tentative support for mercury/32 as a preset.
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.

tassium 22 years ago
parent
commit
9eea5cf71a
1 changed files with 15 additions and 0 deletions
  1. 15 0
      config/conf.pl

+ 15 - 0
config/conf.pl

@@ -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;