A default server setting should always set all options, even if they are
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 26 Dec 2004 22:44:31 +0000 (22:44 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 26 Dec 2004 22:44:31 +0000 (22:44 +0000)
the defaults, to permit switching between different servers. Thanks Tomas
for noting this.

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

config/conf.pl
doc/presets.txt

index 6c8fdfb..817644c 100755 (executable)
@@ -3472,6 +3472,18 @@ sub set_defaults {
             $continue = 1;
         } elsif ( $server eq "hmailserver" ) {
             $imap_server_type               = "hmailserver";
+            $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 = false;
+            $optional_delimiter             = "detect";
+            $allow_charset_search           = false;
+            $disp_default_folder_prefix     = $default_folder_prefix;
+           $delete_folder                  = false;
+           $force_username_lowercase       = false;
 
            $continue = 1;
         } elsif ( $server eq "mercury32" ) {
index 730bb63..bd8351a 100644 (file)
@@ -105,10 +105,20 @@ show_contain_subfolders_option = false
                  delete_folder = true
       force_username_lowercase = false
 
-------------------
+-----------------------
 'hmailserver' settings:
-------------------
+-----------------------
               imap_server_type = hmailserver   (used in imap_search.php)
+         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 = false
+            optional_delimiter = detect
+                 delete_folder = false
+      force_username_lowercase = false
 
 -------------------
 'mercury' settings: