<?php

/**
 * SquirrelMail Configuration File
 * Created using the configure script, conf.pl
 */

global $version;
$config_version   = '1.4.0';
$config_use_color = 1;

$org_name        = "Provisional Email";
$org_logo        = SM_PATH . 'images/opkg_large.png';
$org_logo_width  = '277';
$org_logo_height = '88';
$org_title       = "SquirrelMail $version";
$signout_page    = '';
$frame_top       = '_top';

$motd            = "";
$provider_uri    = 'http://www.openpkg.org/';
$provider_name   = 'OpenPKG';

$squirrelmail_default_language = 'de_DE';
$default_charset        = 'iso-8859-1';
$lossy_encoding         = false;

$domain                 = '@l_fqdm@';
$imapServerAddress      = '@l_fqdm@';
$imapPort               = 143;
$useSendmail            = true;
$smtpServerAddress      = '@l_fqdm@';
$smtpPort               = 25;
$sendmail_path          = '@l_prefix@/sbin/sendmail';
$pop_before_smtp        = false;
$imap_server_type       = 'dovecot';
$invert_time            = false;
$optional_delimiter     = 'detect';

$default_folder_prefix          = '';
$trash_folder                   = 'Trash';
$sent_folder                    = 'Sent';
$draft_folder                   = 'Drafts';
$default_move_to_trash          = true;
$default_move_to_sent           = true;
$default_save_as_draft          = true;
$show_prefix_option             = false;
$list_special_folders_first     = true;
$use_special_folder_color       = true;
$auto_expunge                   = true;
$default_sub_of_inbox           = true;
$show_contain_subfolders_option = false;
$default_unseen_notify          = 3;
$default_unseen_type            = 1;
$auto_create_special            = false;
$delete_folder                  = false;
$noselect_fix_enable            = false;

$data_dir                 = '@l_prefix@/share/squirrelmail/prefs/';
$attachment_dir           = '@l_prefix@/var/squirrelmail/spool/attach/';
$dir_hash_level           = 1;
$default_left_size        = '224';
$force_username_lowercase = true;
$default_use_priority     = true;
$hide_sm_attributions     = false;
$default_use_mdn          = true;
$edit_identity            = true;
$edit_name                = true;
$hide_auth_header         = true;
$allow_thread_sort        = true;
$allow_server_sort        = true;
$allow_charset_search     = true;
$uid_support              = true;

$plugins[0] = 'administrator';
$plugins[1] = 'bug_report';
$plugins[2] = 'calendar';
$plugins[3] = 'compatibility';
$plugins[4] = 'delete_move_next';
$plugins[5] = 'filters';
$plugins[6] = 'fortune';
$plugins[7] = 'info';
$plugins[8] = 'listcommands';
$plugins[9] = 'mail_fetch';
$plugins[10] = 'message_details';
$plugins[11] = 'newmail';
$plugins[12] = 'sent_subfolders';
$plugins[13] = 'spamcop';
$plugins[14] = 'squirrel_logger';
$plugins[15] = 'squirrelspell';
$plugins[16] = 'translate';

/* NOP, for patch line placeholder (avoids fuzz) */
$theme_css = '';
$theme_default = 4;
$theme[0]['PATH'] = '@l_prefix@/share/squirrelmail/themes/bluesome.php';
$theme[0]['NAME'] = 'Bluesome';
$theme[1]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_green.php';
$theme[1]['NAME'] = 'Dark Green';
$theme[2]['PATH'] = '@l_prefix@/share/squirrelmail/themes/dark_grey_theme.php';
$theme[2]['NAME'] = 'Dark Grey';
$theme[3]['PATH'] = '@l_prefix@/share/squirrelmail/themes/deepocean_theme.php';
$theme[3]['NAME'] = 'Deep Ocean';
$theme[4]['PATH'] = '@l_prefix@/share/squirrelmail/themes/default_theme.php';
$theme[4]['NAME'] = 'Default';
$theme[5]['PATH'] = '@l_prefix@/share/squirrelmail/themes/forest_theme.php';
$theme[5]['NAME'] = 'Forest';
$theme[6]['PATH'] = '@l_prefix@/share/squirrelmail/themes/ice_theme.php';
$theme[6]['NAME'] = 'Ice';
$theme[7]['PATH'] = '@l_prefix@/share/squirrelmail/themes/maize_theme.php';
$theme[7]['NAME'] = 'Maize';
$theme[8]['PATH'] = '@l_prefix@/share/squirrelmail/themes/purple_theme.php';
$theme[8]['NAME'] = 'Purple';
$theme[9]['PATH'] = '@l_prefix@/share/squirrelmail/themes/sandstorm_theme.php';
$theme[9]['NAME'] = 'Sand Storm';
$theme[10]['PATH'] = '@l_prefix@/share/squirrelmail/themes/seaspray_theme.php';
$theme[10]['NAME'] = 'Sea Spray';
$theme[11]['PATH'] = '@l_prefix@/share/squirrelmail/themes/servery_theme.php';
$theme[11]['NAME'] = 'Servery';
$theme[12]['PATH'] = '@l_prefix@/share/squirrelmail/themes/silver_steel_theme.php';
$theme[12]['NAME'] = 'SilverSteel';
$theme[13]['PATH'] = '@l_prefix@/share/squirrelmail/themes/simple_green_theme.php';
$theme[13]['NAME'] = 'SimpleGreen';
$theme[14]['PATH'] = '@l_prefix@/share/squirrelmail/themes/spice_of_life.php';
$theme[14]['NAME'] = 'SpiceLife';
$theme[15]['PATH'] = '@l_prefix@/share/squirrelmail/themes/wood_theme.php';
$theme[15]['NAME'] = 'Wood';

$ldap_server[0] = array(
    'host' => 'ldaps://ldap.host.tld:636/',
    'base' => 'dc=region,dc=domain,dc=tld',
    'name' => 'Serveur LDAP',
    'port' => 636,
    'binddn' => 'cn=user,dc=domain,dc=tld',
    'bindpw' => 'password',
    'protocol' => 3
);

$addrbook_dsn                     = '';
$addrbook_table                   = 'address';
$abook_global_file                = '';
$abook_global_file_writeable      = false;
$abook_global_file_listing        = true;
$abook_file_line_length           = 2048;
$default_use_javascript_addr_book = true;

$prefs_dsn                 = '';
$prefs_table               = 'userprefs';
$prefs_user_field          = 'user';
$prefs_key_field           = 'prefkey';
$prefs_val_field           = 'prefval';
$addrbook_global_dsn       = '';
$addrbook_global_table     = 'global_abook';
$addrbook_global_writeable = false;
$addrbook_global_listing   = false;

$no_list_for_subscribe     = false;
$smtp_auth_mech            = 'digest-md5';
$imap_auth_mech            = 'digest-md5';
$smtp_sitewide_user        = '';
$smtp_sitewide_pass        = '';
$use_imap_tls              = false;
$use_smtp_tls              = false;
$session_name              = 'SQMSESSID';
$only_secure_cookies       = true;

$config_location_base      = '';

@include SM_PATH . 'config_local.php';

/**
 * Make sure there are no characters after the PHP closing
 * tag below (including newline characters and whitespace).
 * Otherwise, that character will cause the headers to be
 * sent and regular output to begin, which will majorly screw
 * things up when we try to send more headers later.
 */
?>
