Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

/Computerisms/sites/mail.computerisms.com/plugins/global config/config.inc.php

From COCNM
Revision as of 02:19, 19 September 2013 by Bob (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<?php
// CONFIG FOR acl
$rcmail_config['acl_advanced_mode'] = false;
$rcmail_config['acl_users_source'] = '';
$rcmail_config['acl_users_field'] = 'mail';
$rcmail_config['acl_users_filter'] = '';

// CONFIG FOR archivefolder
$rcmail_config['archive_show_button'] = TRUE;

// CONFIG FOR blockspamsending
$rcmail_config['body_tolerance'] = 15;

// CONFIG FOR calendar
$rcmail_config['caldav_debug'] = true;
$rcmail_config['backend'] = 'caldav';
$rcmail_config['caldav_protect'] = true;
$rcmail_config['max_caldavs'] = 50;
$rcmail_config['max_feeds'] = 15;
$rcmail_config['cal_short_urls'] = true;
$rcmail_config['default_caldav_backend'] = array(
  'user' => '%su',
  'pass' => '%p',
  'url' => 'https://cal.computerisms.com/caldav.php/%su/calendar',
  'auth' => 'basic',
  'readonly' => false,
  'extr' => false,
);
$rcmail_config['caldavs'] = array();
$rcmail_config['sync_collections'] = ''; // 0 = always on login
$rcmail_config['caldav_hidden_collections'] = array();
$rcmail_config['caldav_replication_range'] = array(
  'past'   => 1, // (x)
  'future' => 2, // (y)
);
$rcmail_config['caldav_replicate_automatically'] = 1800;
$rcmail_config['cal_dont_save_passwords'] = false;
$rcmail_config['backend_db_table_map'] = array(
  'database' => '', // default db table
  'caldav' => '_caldav', // caldav db table (= default db table) extended by _caldav
);
$rcmail_config['db_table_events'] = 'events';
$rcmail_config['db_sequence_events'] = 'events_ids';
$rcmail_config['db_table_events_cache'] = 'events_cache';
$rcmail_config['db_sequence_events_cache'] = 'events_cache_ids';
$rcmail_config['db_table_events_reminders'] = 'reminders';
$rcmail_config['cal_searchset'] = array(
  'summary',
  'description',
  'location',
  'categories'
);
$rcmail_config['hide_agenda_day_basic'] = true;
$rcmail_config['upcoming_cal'] = true;
$rcmail_config['cal_previews'] = 2;
$rcmail_config['cron_log'] = true;
$rcmail_config['cron_smtp_user'] = ''; //smtp user
$rcmail_config['cron_smtp_pass'] = ''; //smtp password
$rcmail_config['cron_rc_url'] = 'http://mail.computerisms.com/'; //trailing slash !!!
$rcmail_config['cron_ip'] = '127.0.0.1';
$rcmail_config['cron_sender'] = 'rccron@computerisms.com';
$rcmail_config['linkcolor'] = '#212121';
$rcmail_config['rgblinkcolor'] = 'rgb(33, 33, 33)';
$rcmail_config['ui_theme_main_cal'] = true;
$rcmail_config['ui_theme_upcoming_cal'] = false;
$rcmail_config['default_view'] = "agendaWeek";
$rcmail_config['timeslots'] = '4';
$rcmail_config['first_day'] = '1';
$rcmail_config['first_hour'] = -1;
$rcmail_config['default_category'] = 'c0c0c0';
$rcmail_config['default_category_label'] = utf8_encode('Default');
$rcmail_config['default_font_color'] = 'complementary';
$rcmail_config['categories'] = array(
  'Work' => 'ff0000',
  'Family' => '00ff00',
  'Holidays' => 'ff6600',
);
$rcmail_config['default_categories'] = $rcmail_config['categories'];
$rcmail_config['categories_preview'] = array(
  'preview' => '75FF42',
  'occupied' => 'FF0000',
  'schedule' => '75FF42',
);
$rcmail_config['public_categories'] = array();
$rcmail_config['public_caldavs'] = array();
$rcmail_config['workdays'] = array(1,2,3,4,5);
$rcmail_config['default_duration'] = '0.50'; 
$rcmail_config['calendarfeeds'] = array();
$rcmail_config['public_calendarfeeds'] = array();

// CONFIG FOR carddav
$rcmail_config['db_table_collected_contacts'] = 'collected_contacts';
$rcmail_config['use_auto_abook'] = true;
$rcmail_config['use_auto_abook_for_completion'] = true;
$rcmail_config['show_empty_database_addressbooks'] = true;
$rcmail_config['db_table_carddav_server'] = 'carddav_server';
$rcmail_config['db_table_carddav_contacts'] = 'carddav_contacts';
$rcmail_config['db_table_carddav_contactproups'] = 'carddav_contactgroups';
$rcmail_config['db_table_carddav_contactproupmembers'] = 'carddav_contactgroupmembers';
$rcmail_config['carddav_debug'] = false;
$rcmail_config['carddav_protect'] = true;
$rcmail_config['carddav_debug'] = false;
$rcmail_config['carddav_protect'] = true;
$rcmail_config['max_carddavs'] = 50;
$rcmail_config['sync_carddavs_interval'] = 15;
$rcmail_config['carddav_synced_passwords'] = array();
$rcmail_config['def_carddavs'] = array(
  'Computerisms' => array(
                   'user' => '%su',
                   'pass' => '%p',
                   'url' => 'https://cal.computerisms.com/caldav.php/%su/addresses',
                   'readonly' => false,
                 ),
);
if(function_exists('get_input_value')){
  $user = explode('@', get_input_value('_user', RCUBE_INPUT_POST), 2);
  $user = $user[0];
  foreach($rcmail_config['def_carddavs'] as $key => $props){
    if($rcmail_config['def_carddavs'][$key]['user'] == '%u'){
      $rcmail_config['def_carddavs'][$key]['user'] = $user;
      $rcmail_config['def_carddavs'][$key]['url'] = str_replace('%u', $user, $rcmail_config['def_carddavs'][$key]['url']);
    }
  }
}

// CONFIG FOR crawler
$rcmail_config['crawl_urls'] = array(
  'http://computerisms.com/',
);

// CONFIG FOR enigma
$rcmail_config['enigma_pgp_driver'] = 'gnupg';
$rcmail_config['enigma_smime_driver'] = 'phpssl';
$rcmail_config['enigma_pgp_homedir'] = null;

// CONFIG FOR help
$rcmail_config['help_source'] = 'http://help.computerisms.com';

// CONFIG FOR http_authentication
$rcmail_config['http_authentication_host'] = '';

// CONFIG FOR idle_timeout
$rcmail_config['idle_timeout_warning'] = 10;
$rcmail_config['idle_timeout_logout'] = 2;

// CONFIG FOR importmessages
$rcmail_config['importmessages_process_driver'] = null;

// CONFIG FOR jqueryui
$rcmail_config['jquery_ui_i18n'] = array('datepicker');
$rcmail_config['jquery_ui_skin_map'] = array(
  'larry' => 'larry',
  'default' => 'larry',
  'groupvice4' => 'redmond',
);

// CONFIG FOR jscolor
$rcmail_config['jscolor_removeHexString'] = false;

// CONFIG FOR managesieve
$rcmail_config['managesieve_port'] = 4190;
$rcmail_config['managesieve_host'] = 'localhost';
$rcmail_config['managesieve_auth_type'] = null;
$rcmail_config['managesieve_auth_cid'] = null;
$rcmail_config['managesieve_auth_pw'] = null;
$rcmail_config['managesieve_usetls'] = false;
$rcmail_config['managesieve_default'] = '/usr/local/etc/dovecot/sieve/global';
$rcmail_config['managesieve_script_name'] = 'managesieve';
$rcmail_config['managesieve_mbox_encoding'] = 'UTF-8';
$rcmail_config['managesieve_replace_delimiter'] = '';
$rcmail_config['managesieve_disabled_extensions'] = array();
$rcmail_config['managesieve_debug'] = false;
$rcmail_config['managesieve_kolab_master'] = false;
$rcmail_config['managesieve_filename_extension'] = '.sieve';
$rcmail_config['managesieve_filename_exceptions'] = array();

// CONFIG FOR newmail_notifier
$rcmail_config['newmail_notifier_basic'] = true;
$rcmail_config['newmail_notifier_sound'] = false;
$rcmail_config['newmail_notifier_desktop'] = true;

// CONFIG FOR persistent_login
$rcmail_config['ifpl_login_expire'] = 60*60*24*7;
$rcmail_config['ifpl_cookie_name'] = '_pt';
$rcmail_config['ifpl_use_auth_tokens'] = true;

// CONFIG FOR settings
$rcmail_config['limit_languages'] = array("en_CA", "en_US", "fr_CA");
$rcmail_config['limit_skins'] = array("classic","larry");

// CONFIG FOR sticky_notes
$rcmail_config['db_table_sticky_notes'] = 'notes';
$rcmail_config['db_sequence_notes'] = 'notes_id_seq';
$rcmail_config['sticky_notes_count_img'] = false;
$rcmail_config['sticky_notes_imap_folder'] = 'Notes';

// CONFIG FOR webmail_notifier
$rcmail_config['webmail_notifier_flag'] = 'UNSEEN'; //RECENT
$rcmail_config['webmail_notifier_download_chrome'] = 'http://xnotifier.tobwithu.com/cr';
$rcmail_config['providername'] = 'Computerisms';
$rcmail_config['webmail_notifier_folders'] = 2;

// CONFIG FOR wrapper
$rcmail_config['wrapper_width_default'] = 1024;
$rcmail_config['wrapper_width_min'] = 1024;
$rcmail_config['wrapper_inner_widths'] = array(900, 1000, 1100, 1200, 1300, 1400, 1500, 1600);
$rcmail_config['wrapper_left'] = "./?_action=plugin.wrapper_left";
$rcmail_config['wrapper_left_template'] = 'left';
$rcmail_config['wrapper_left_width_min'] = 120;
$rcmail_config['wrapper_right'] = "./?_action=plugin.wrapper_right";
$rcmail_config['wrapper_right_template'] = 'right';
$rcmail_config['wrapper_right_width_min'] = 120;
$rcmail_config['wrapper_resize_listener'] = TRUE;

// CONFIG FOR zipdownload
$rcmail_config['zipdownload_attachments'] = 1;
$rcmail_config['zipdownload_folder'] = false;
$rcmail_config['zipdownload_selection'] = false;
$rcmail_config['zipdownload_charset'] = 'ISO-8859-1';
?>