From: ebullient Date: Sat, 7 May 2005 20:32:18 +0000 (+0000) Subject: add dovecot X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a33764f643ab638d0cd2450e570a556e0c257eb7;p=squirrelmail.git add dovecot git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9407 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/config/conf.pl b/config/conf.pl index 72926b6f..efb04078 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -1099,13 +1099,16 @@ sub command19 { print "these servers. If you would like to use them, please select your\n"; print "IMAP server. If you do not wish to use these work-arounds, you can\n"; print "set this to \"other\", and none will be used.\n"; + print " courier = Courier IMAP server\n"; print " cyrus = Cyrus IMAP server\n"; - print " uw = University of Washington's IMAP server\n"; + print " dovecot = Dovecot Secure IMAP server\n"; print " exchange = Microsoft Exchange IMAP server\n"; - print " courier = Courier IMAP server\n"; - print " macosx = Mac OS X Mailserver\n"; print " hmailserver = hMailServer\n"; + print " macosx = Mac OS X Mailserver\n"; + print " uw = University of Washington's IMAP server\n"; + print "\n"; print " other = Not one of the above servers\n"; + print "\n"; print "[$WHT$imap_server_type$NRM]: $WHT"; $new_imap_server_type = ; @@ -3508,14 +3511,17 @@ sub set_defaults { $continue = 0; while ( $continue != 1 ) { print "Please select your IMAP server:\n"; + print " courier = Courier IMAP server\n"; print " cyrus = Cyrus IMAP server\n"; - print " uw = University of Washington's IMAP server\n"; + print " dovecot = Dovecot Secure IMAP server\n"; print " exchange = Microsoft Exchange IMAP server\n"; - print " courier = Courier IMAP server\n"; - print " macosx = Mac OS X Mailserver\n"; print " hmailserver = hMailServer\n"; + print " macosx = Mac OS X Mailserver\n"; print " mercury32 = Mercury/32\n"; + print " uw = University of Washington's IMAP server\n"; + print "\n"; print " quit = Do not change anything\n"; + print "\n"; print "Command >> "; $server = ; $server =~ s/[\r\n]//g; @@ -3622,6 +3628,21 @@ sub set_defaults { $delete_folder = true; $force_username_lowercase = true; + $continue = 1; + } elsif ( $server eq "dovecot" ) { + $imap_server_type = "dovecot"; + $default_folder_prefix = ""; + $trash_folder = "Trash"; + $sent_folder = "Sent"; + $draft_folder = "Drafts"; + $show_prefix_option = false; + $default_sub_of_inbox = false; + $show_contain_subfolders_option = false; + $delete_folder = false; + $force_username_lowercase = true; + $optional_delimiter = "detect"; + $disp_default_folder_prefix = ""; + $continue = 1; } elsif ( $server eq "quit" ) { $continue = 1;