diff -urN config.orig/conf.pl config/conf.pl --- config.orig/conf.pl Sun May 22 11:30:30 2005 +++ config/conf.pl Sun Nov 6 21:21:29 2005 @@ -1063,6 +1063,7 @@ print " uw = University of Washington's IMAP server\n"; print " exchange = Microsoft Exchange IMAP server\n"; print " courier = Courier IMAP server\n"; + print " dovecot = Dovecot IMAP server\n"; print " macosx = Mac OS X Mailserver\n"; print " hmailserver = hMailServer\n"; print " other = Not one of the above servers\n"; @@ -1421,6 +1422,8 @@ # add the trailing delimiter only if we know what the server is. if (($imap_server_type eq 'cyrus' and $optional_delimiter eq 'detect') or + ($imap_server_type eq 'dovecot' and + $optional_delimiter eq 'detect') or ($imap_server_type eq 'courier' and $optional_delimiter eq 'detect')) { $new_default_folder_prefix =~ s/\.*$/\./; @@ -3213,6 +3216,7 @@ print " uw = University of Washington's IMAP server\n"; print " exchange = Microsoft Exchange IMAP server\n"; print " courier = Courier IMAP server\n"; + print " dovecot = Dovecot IMAP server\n"; print " macosx = Mac OS X Mailserver\n"; print " hmailserver = hMailServer\n"; print " quit = Do not change anything\n"; @@ -3269,6 +3273,20 @@ $draft_folder = "Drafts"; $show_prefix_option = false; $default_sub_of_inbox = false; + $show_contain_subfolders_option = false; + $optional_delimiter = "."; + $disp_default_folder_prefix = $default_folder_prefix; + $delete_folder = 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 = true; + $default_sub_of_inbox = true; $show_contain_subfolders_option = false; $optional_delimiter = "."; $disp_default_folder_prefix = $default_folder_prefix;