- Running SquirrelMail with PHP register_globals = on will cause fatal error
in src/configtest.php.
- Added field size controls to database preference backend (#1233721).
+ - Added bincimap preset (#1285099).
Version 1.5.0 - 2 February 2004
-------------------------------
$continue = 0;
while ( $continue != 1 ) {
print "Please select your IMAP server:\n";
+ print " bincimap = Binc IMAP server\n";
print " courier = Courier IMAP server\n";
print " cyrus = Cyrus IMAP server\n";
print " dovecot = Dovecot Secure IMAP server\n";
$server = <STDIN>;
$server =~ s/[\r\n]//g;
+ # variable is used to display additional messages.
+ $message = "";
+
print "\n";
if ( $server eq "cyrus" ) {
$imap_server_type = "cyrus";
$optional_delimiter = "detect";
$disp_default_folder_prefix = "<none>";
+ $continue = 1;
+ } elsif ( $server eq "bincimap" ) {
+ $imap_server_type = "bincimap";
+ $default_folder_prefix = "INBOX/";
+ $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 = true;
+ $force_username_lowercase = false;
+ $optional_delimiter = "detect";
+ $disp_default_folder_prefix = $default_folder_prefix;
+
+ # Default folder prefix depends on used depot.
+ $message = "\nIf you use IMAPdir depot, you must set default folder prefix to empty string.\n";
+
$continue = 1;
} elsif ( $server eq "quit" ) {
$continue = 1;
print " optional_delimiter = $optional_delimiter\n";
print " delete_folder = $delete_folder\n";
print " force_username_lowercase = $force_username_lowercase\n";
+
+ print "$message";
}
print "\nPress enter to continue...";
$tmp = <STDIN>;
'macosx' => _("Mac OS X Mailserver"),
'hmailserver' => _("hMailServer IMAP server"),
'mercury32' => _("Mercury/32 IMAP server"),
+ 'bincimap' => _("Binc IMAP server"),
'other' => _("Not one of the above servers") ) ),
'$optional_delimiter' => array( 'name' => _("IMAP Folder Delimiter"),
'type' => SMOPT_TYPE_STRING,
// We don't need INBOX, since it is top folder
array_push($skip_folders, 'INBOX');
}
+} elseif ( $server_type == 'bincimap' ) {
+ if ( $default_folder_prefix == 'INBOX/' ) {
+ // We don't need INBOX, since it is top folder
+ array_push($skip_folders, 'INBOX');
+ }
}
if ( $default_sub_of_inbox == false ) {