|
|
@@ -580,8 +580,8 @@ if($SERVER_VERSION=='10.9Maverick') $cmd[]['rsh']="gcc 2>&1 |grep 'no input file
|
|
|
exit 1
|
|
|
} ';
|
|
|
} else if($SERVER_VERSION=='10.10Yosemite') {
|
|
|
- $cmd[]['scp']=array('/Library/Server/Web/Data/Sites/Default/SE/se-dev-pl/stuff/MacPorts-2.3.2-10.10-Yosemite.pkg','/tmp/MacPorts-2.3.2-10.10-Yosemite.pkg');
|
|
|
- $cmd[]['rsh']='installer -package /tmp/MacPorts-2.3.2-10.10-Yosemite.pkg -target "/" -verbose';
|
|
|
+ $cmd[]['scp']=array('/Library/Server/Web/Data/Sites/Default/SE/se-dev-pl/stuff/MacPorts-2.3.3-10.10-Yosemite.pkg','/tmp/MacPorts-2.3.3-10.10-Yosemite.pkg');
|
|
|
+ $cmd[]['rsh']='installer -package /tmp/MacPorts-2.3.3-10.10-Yosemite.pkg -target "/" -verbose';
|
|
|
|
|
|
} else {
|
|
|
|
|
|
@@ -599,6 +599,15 @@ if($SERVER_VERSION=='10.9Maverick') $cmd[]['rsh']='cat /etc/php.ini |grep "exten
|
|
|
if($SERVER_VERSION=='10.10Yosemite') $cmd[]['scp']=array('/Applications/SourceGuardian.app/Contents/Loaders/Mac\ OS\ X/ixed.5.5.dar','/usr/lib/php/extensions/no-debug-non-zts-20121212/');// $cmd[]['rsh']='installer -package /tmp/MacPorts-2.2.0-10.8-MountainLion.pkg -target "'.$SERVER_MOUNT_POINT_ROOT.'" -verbose';
|
|
|
if($SERVER_VERSION=='10.10Yosemite') $cmd[]['rsh']='cat /etc/php.ini |grep "extension=ixed.5.5.dar" || echo "\nextension=ixed.5.5.dar\n" >> /etc/php.ini';
|
|
|
|
|
|
+if($SERVER_VERSION=='10.10Yosemite') {
|
|
|
+ $cmd[]['rsh']='port install ImageMagick';
|
|
|
+ $cmd[]['rsh']='port install php55-imagick';
|
|
|
+ $cmd[]['rsh']='port install php55-imagick';
|
|
|
+ $cmd[]['rsh']='cd /usr/lib/php/extensions/no-debug-non-zts-20121212/ && ln -s /opt/local/lib/php55/extensions/no-debug-non-zts-20121212/imagick.so . ';
|
|
|
+ $cmd[]['rsh']='cat /etc/php.ini |grep "extension=imagick.so" || echo "\nextension=imagick.so\n" >> /etc/php.ini';
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
|
|
|
//EOF TO MOVE TO INSTALL_GETCOMMANDS_COMP_PORT_MYSQL
|
|
|
$cmd[]['rsh']='cat /etc/paths |grep "/opt/local/bin" || echo "/opt/local/bin" >>/etc/paths';
|
|
|
@@ -810,129 +819,129 @@ chown _www logs/ || exit 1
|
|
|
$cmd[]['rsh']='cd /Library/Server/Web/Data/Sites/Default/webmail || exit 1
|
|
|
|
|
|
echo "<?
|
|
|
-\\\\\$rcmail_config = array();
|
|
|
-\\\\\$rcmail_config[\'debug_level\'] = 1;
|
|
|
-\\\\\$rcmail_config[\'log_driver\'] = \'file\';
|
|
|
-\\\\\$rcmail_config[\'log_date_format\'] = \'d-M-Y H:i:s O\';
|
|
|
-\\\\\$rcmail_config[\'syslog_id\'] = \'roundcube\';
|
|
|
-\\\\\$rcmail_config[\'syslog_facility\'] = LOG_USER;
|
|
|
-\\\\\$rcmail_config[\'smtp_log\'] = true;
|
|
|
-\\\\\$rcmail_config[\'log_logins\'] = false;
|
|
|
-\\\\\$rcmail_config[\'log_session\'] = false;
|
|
|
-\\\\\$rcmail_config[\'sql_debug\'] = false;
|
|
|
-\\\\\$rcmail_config[\'imap_debug\'] = false;
|
|
|
-\\\\\$rcmail_config[\'ldap_debug\'] = false;
|
|
|
-\\\\\$rcmail_config[\'smtp_debug\'] = false;
|
|
|
-\\\\\$rcmail_config[\'default_host\'] = \'127.0.0.1\';
|
|
|
-\\\\\$rcmail_config[\'default_port\'] = 143;
|
|
|
-\\\\\$rcmail_config[\'imap_auth_type\'] = PLAIN;
|
|
|
-\\\\\$rcmail_config[\'imap_delimiter\'] = null;
|
|
|
-\\\\\$rcmail_config[\'imap_ns_personal\'] = null;
|
|
|
-\\\\\$rcmail_config[\'imap_ns_shared\'] = null;
|
|
|
-\\\\\$rcmail_config[\'imap_force_caps\'] = false;
|
|
|
-\\\\\$rcmail_config[\'imap_force_lsub\'] = false;
|
|
|
-\\\\\$rcmail_config[\'imap_force_ns\'] = false;
|
|
|
-\\\\\$rcmail_config[\'imap_timeout\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'imap_auth_cid\'] = null;
|
|
|
-\\\\\$rcmail_config[\'imap_auth_pw\'] = null;
|
|
|
-\\\\\$rcmail_config[\'imap_cache\'] = null;
|
|
|
-\\\\\$rcmail_config[\'messages_cache\'] = false;
|
|
|
-\\\\\$rcmail_config[\'smtp_server\'] = \'127.0.0.1\';
|
|
|
-\\\\\$rcmail_config[\'smtp_port\'] = 25;
|
|
|
-\\\\\$rcmail_config[\'smtp_user\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'smtp_pass\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'smtp_auth_type\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'smtp_auth_cid\'] = null;
|
|
|
-\\\\\$rcmail_config[\'smtp_auth_pw\'] = null;
|
|
|
-\\\\\$rcmail_config[\'smtp_helo_host\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'smtp_timeout\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'enable_installer\'] = false;
|
|
|
-\\\\\$rcmail_config[\'dont_override\'] = array();
|
|
|
-\\\\\$rcmail_config[\'support_url\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'skin_logo\'] = null;
|
|
|
-\\\\\$rcmail_config[\'auto_create_user\'] = true;
|
|
|
-\\\\\$rcmail_config[\'user_aliases\'] = false;
|
|
|
-\\\\\$rcmail_config[\'log_dir\'] = \'logs/\';
|
|
|
-\\\\\$rcmail_config[\'temp_dir\'] = \'temp/\';
|
|
|
-\\\\\$rcmail_config[\'message_cache_lifetime\'] = \'10d\';
|
|
|
-\\\\\$rcmail_config[\'force_https\'] = false;
|
|
|
-\\\\\$rcmail_config[\'use_https\'] = false;
|
|
|
-\\\\\$rcmail_config[\'login_autocomplete\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'login_lc\'] = 2;
|
|
|
-\\\\\$rcmail_config[\'skin_include_php\'] = false;
|
|
|
-\\\\\$rcmail_config[\'display_version\'] = false;
|
|
|
-\\\\\$rcmail_config[\'session_lifetime\'] = 10;
|
|
|
-\\\\\$rcmail_config[\'session_domain\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'session_name\'] = null;
|
|
|
-\\\\\$rcmail_config[\'session_path\'] = null;
|
|
|
-\\\\\$rcmail_config[\'session_storage\'] = \'db\';
|
|
|
-\\\\\$rcmail_config[\'ip_check\'] = false;
|
|
|
-\\\\\$rcmail_config[\'referer_check\'] = false;
|
|
|
-\\\\\$rcmail_config[\'x_frame_options\'] = \'sameorigin\';
|
|
|
-\\\\\$rcmail_config[\'des_key\'] = \'+oEkJSMxbrsl%C!J1f3AjJK-\';
|
|
|
-\\\\\$rcmail_config[\'username_domain\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'mail_domain\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'password_charset\'] = \'ISO-8859-1\';
|
|
|
-\\\\\$rcmail_config[\'sendmail_delay\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'max_recipients\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'max_group_members\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'useragent\'] = \'Roundcube Webmail/\'.RCMAIL_VERSION;
|
|
|
-\\\\\$rcmail_config[\'product_name\'] = \'webmail\';
|
|
|
-\\\\\$rcmail_config[\'include_host_config\'] = false;
|
|
|
-\\\\\$rcmail_config[\'generic_message_footer\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'generic_message_footer_html\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'http_received_header\'] = false;
|
|
|
-\\\\\$rcmail_config[\'http_received_header_encrypt\'] = false;
|
|
|
-\\\\\$rcmail_config[\'mail_header_delimiter\'] = NULL;
|
|
|
-\\\\\$rcmail_config[\'line_length\'] = 72;
|
|
|
-\\\\\$rcmail_config[\'send_format_flowed\'] = true;
|
|
|
-\\\\\$rcmail_config[\'mdn_use_from\'] = false;
|
|
|
-\\\\\$rcmail_config[\'identities_level\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'client_mimetypes\'] = null; # null == default
|
|
|
-\\\\\$rcmail_config[\'mime_magic\'] = null;
|
|
|
-\\\\\$rcmail_config[\'mime_types\'] = null;
|
|
|
-\\\\\$rcmail_config[\'im_identify_path\'] = null;
|
|
|
-\\\\\$rcmail_config[\'im_convert_path\'] = null;
|
|
|
-\\\\\$rcmail_config[\'image_thumbnail_size\'] = 240;
|
|
|
-\\\\\$rcmail_config[\'contact_photo_size\'] = 160;
|
|
|
-\\\\\$rcmail_config[\'email_dns_check\'] = false;
|
|
|
-\\\\\$rcmail_config[\'no_save_sent_messages\'] = false;
|
|
|
-\\\\\$rcmail_config[\'plugins\'] = array();
|
|
|
-\\\\\$rcmail_config[\'message_sort_col\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'message_sort_order\'] = \'DESC\';
|
|
|
-\\\\\$rcmail_config[\'list_cols\'] = array(\'subject\', \'status\', \'fromto\', \'date\', \'size\', \'flag\', \'attachment\');
|
|
|
-\\\\\$rcmail_config[\'language\'] = null;
|
|
|
-\\\\\$rcmail_config[\'date_format\'] = \'Y-m-d\';
|
|
|
-\\\\\$rcmail_config[\'date_formats\'] = array(\'Y-m-d\', \'d-m-Y\', \'Y/m/d\', \'m/d/Y\', \'d/m/Y\', \'d.m.Y\', \'j.n.Y\');
|
|
|
-\\\\\$rcmail_config[\'time_format\'] = \'H:i\';
|
|
|
-\\\\\$rcmail_config[\'time_formats\'] = array(\'G:i\', \'H:i\', \'g:i a\', \'h:i A\');
|
|
|
-\\\\\$rcmail_config[\'date_short\'] = \'D H:i\';
|
|
|
-\\\\\$rcmail_config[\'date_long\'] = \'Y-m-d H:i\';
|
|
|
-\\\\\$rcmail_config[\'drafts_mbox\'] = \'Drafts\';
|
|
|
-\\\\\$rcmail_config[\'junk_mbox\'] = \'Junk\';
|
|
|
-\\\\\$rcmail_config[\'sent_mbox\'] = \'Sent\';
|
|
|
-\\\\\$rcmail_config[\'trash_mbox\'] = \'Trash\';
|
|
|
-\\\\\$rcmail_config[\'default_folders\'] = array(\'INBOX\', \'Drafts\', \'Sent\', \'Junk\', \'Trash\');
|
|
|
-\\\\\$rcmail_config[\'create_default_folders\'] = false;
|
|
|
-\\\\\$rcmail_config[\'protect_default_folders\'] = true;
|
|
|
-\\\\\$rcmail_config[\'quota_zero_as_unlimited\'] = false;
|
|
|
-\\\\\$rcmail_config[\'enable_spellcheck\'] = true;
|
|
|
-\\\\\$rcmail_config[\'spellcheck_dictionary\'] = false;
|
|
|
-\\\\\$rcmail_config[\'spellcheck_engine\'] = \'googie\';
|
|
|
-\\\\\$rcmail_config[\'spellcheck_uri\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'spellcheck_languages\'] = NULL;
|
|
|
-\\\\\$rcmail_config[\'spellcheck_ignore_caps\'] = false;
|
|
|
-\\\\\$rcmail_config[\'spellcheck_ignore_nums\'] = false;
|
|
|
-\\\\\$rcmail_config[\'spellcheck_ignore_syms\'] = false;
|
|
|
-\\\\\$rcmail_config[\'recipients_separator\'] = \',\';
|
|
|
-\\\\\$rcmail_config[\'max_pagesize\'] = 200;
|
|
|
-\\\\\$rcmail_config[\'min_refresh_interval\'] = 60;
|
|
|
-\\\\\$rcmail_config[\'upload_progress\'] = false;
|
|
|
-\\\\\$rcmail_config[\'undo_timeout\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'address_book_type\'] = \'sql\';
|
|
|
-\\\\\$rcmail_config[\'ldap_public\'] = array();
|
|
|
-
|
|
|
-\\\\\$rcmail_config[\'ldap_public\'][\'localhost\'] = array(
|
|
|
+\\\\$rcmail_config = array();
|
|
|
+\\\\$rcmail_config[\'debug_level\'] = 1;
|
|
|
+\\\\$rcmail_config[\'log_driver\'] = \'file\';
|
|
|
+\\\\$rcmail_config[\'log_date_format\'] = \'d-M-Y H:i:s O\';
|
|
|
+\\\\$rcmail_config[\'syslog_id\'] = \'roundcube\';
|
|
|
+\\\\$rcmail_config[\'syslog_facility\'] = LOG_USER;
|
|
|
+\\\\$rcmail_config[\'smtp_log\'] = true;
|
|
|
+\\\\$rcmail_config[\'log_logins\'] = false;
|
|
|
+\\\\$rcmail_config[\'log_session\'] = false;
|
|
|
+\\\\$rcmail_config[\'sql_debug\'] = false;
|
|
|
+\\\\$rcmail_config[\'imap_debug\'] = false;
|
|
|
+\\\\$rcmail_config[\'ldap_debug\'] = false;
|
|
|
+\\\\$rcmail_config[\'smtp_debug\'] = false;
|
|
|
+\\\\$rcmail_config[\'default_host\'] = \'127.0.0.1\';
|
|
|
+\\\\$rcmail_config[\'default_port\'] = 143;
|
|
|
+\\\\$rcmail_config[\'imap_auth_type\'] = PLAIN;
|
|
|
+\\\\$rcmail_config[\'imap_delimiter\'] = null;
|
|
|
+\\\\$rcmail_config[\'imap_ns_personal\'] = null;
|
|
|
+\\\\$rcmail_config[\'imap_ns_shared\'] = null;
|
|
|
+\\\\$rcmail_config[\'imap_force_caps\'] = false;
|
|
|
+\\\\$rcmail_config[\'imap_force_lsub\'] = false;
|
|
|
+\\\\$rcmail_config[\'imap_force_ns\'] = false;
|
|
|
+\\\\$rcmail_config[\'imap_timeout\'] = 0;
|
|
|
+\\\\$rcmail_config[\'imap_auth_cid\'] = null;
|
|
|
+\\\\$rcmail_config[\'imap_auth_pw\'] = null;
|
|
|
+\\\\$rcmail_config[\'imap_cache\'] = null;
|
|
|
+\\\\$rcmail_config[\'messages_cache\'] = false;
|
|
|
+\\\\$rcmail_config[\'smtp_server\'] = \'127.0.0.1\';
|
|
|
+\\\\$rcmail_config[\'smtp_port\'] = 25;
|
|
|
+\\\\$rcmail_config[\'smtp_user\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'smtp_pass\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'smtp_auth_type\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'smtp_auth_cid\'] = null;
|
|
|
+\\\\$rcmail_config[\'smtp_auth_pw\'] = null;
|
|
|
+\\\\$rcmail_config[\'smtp_helo_host\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'smtp_timeout\'] = 0;
|
|
|
+\\\\$rcmail_config[\'enable_installer\'] = false;
|
|
|
+\\\\$rcmail_config[\'dont_override\'] = array();
|
|
|
+\\\\$rcmail_config[\'support_url\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'skin_logo\'] = null;
|
|
|
+\\\\$rcmail_config[\'auto_create_user\'] = true;
|
|
|
+\\\\$rcmail_config[\'user_aliases\'] = false;
|
|
|
+\\\\$rcmail_config[\'log_dir\'] = \'logs/\';
|
|
|
+\\\\$rcmail_config[\'temp_dir\'] = \'temp/\';
|
|
|
+\\\\$rcmail_config[\'message_cache_lifetime\'] = \'10d\';
|
|
|
+\\\\$rcmail_config[\'force_https\'] = false;
|
|
|
+\\\\$rcmail_config[\'use_https\'] = false;
|
|
|
+\\\\$rcmail_config[\'login_autocomplete\'] = 0;
|
|
|
+\\\\$rcmail_config[\'login_lc\'] = 2;
|
|
|
+\\\\$rcmail_config[\'skin_include_php\'] = false;
|
|
|
+\\\\$rcmail_config[\'display_version\'] = false;
|
|
|
+\\\\$rcmail_config[\'session_lifetime\'] = 10;
|
|
|
+\\\\$rcmail_config[\'session_domain\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'session_name\'] = null;
|
|
|
+\\\\$rcmail_config[\'session_path\'] = null;
|
|
|
+\\\\$rcmail_config[\'session_storage\'] = \'db\';
|
|
|
+\\\\$rcmail_config[\'ip_check\'] = false;
|
|
|
+\\\\$rcmail_config[\'referer_check\'] = false;
|
|
|
+\\\\$rcmail_config[\'x_frame_options\'] = \'sameorigin\';
|
|
|
+\\\\$rcmail_config[\'des_key\'] = \'+oEkJSMxbrsl%C!J1f3AjJK-\';
|
|
|
+\\\\$rcmail_config[\'username_domain\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'mail_domain\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'password_charset\'] = \'ISO-8859-1\';
|
|
|
+\\\\$rcmail_config[\'sendmail_delay\'] = 0;
|
|
|
+\\\\$rcmail_config[\'max_recipients\'] = 0;
|
|
|
+\\\\$rcmail_config[\'max_group_members\'] = 0;
|
|
|
+\\\\$rcmail_config[\'useragent\'] = \'Roundcube Webmail/\'.RCMAIL_VERSION;
|
|
|
+\\\\$rcmail_config[\'product_name\'] = \'webmail\';
|
|
|
+\\\\$rcmail_config[\'include_host_config\'] = false;
|
|
|
+\\\\$rcmail_config[\'generic_message_footer\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'generic_message_footer_html\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'http_received_header\'] = false;
|
|
|
+\\\\$rcmail_config[\'http_received_header_encrypt\'] = false;
|
|
|
+\\\\$rcmail_config[\'mail_header_delimiter\'] = NULL;
|
|
|
+\\\\$rcmail_config[\'line_length\'] = 72;
|
|
|
+\\\\$rcmail_config[\'send_format_flowed\'] = true;
|
|
|
+\\\\$rcmail_config[\'mdn_use_from\'] = false;
|
|
|
+\\\\$rcmail_config[\'identities_level\'] = 0;
|
|
|
+\\\\$rcmail_config[\'client_mimetypes\'] = null; # null == default
|
|
|
+\\\\$rcmail_config[\'mime_magic\'] = null;
|
|
|
+\\\\$rcmail_config[\'mime_types\'] = null;
|
|
|
+\\\\$rcmail_config[\'im_identify_path\'] = null;
|
|
|
+\\\\$rcmail_config[\'im_convert_path\'] = null;
|
|
|
+\\\\$rcmail_config[\'image_thumbnail_size\'] = 240;
|
|
|
+\\\\$rcmail_config[\'contact_photo_size\'] = 160;
|
|
|
+\\\\$rcmail_config[\'email_dns_check\'] = false;
|
|
|
+\\\\$rcmail_config[\'no_save_sent_messages\'] = false;
|
|
|
+\\\\$rcmail_config[\'plugins\'] = array();
|
|
|
+\\\\$rcmail_config[\'message_sort_col\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'message_sort_order\'] = \'DESC\';
|
|
|
+\\\\$rcmail_config[\'list_cols\'] = array(\'subject\', \'status\', \'fromto\', \'date\', \'size\', \'flag\', \'attachment\');
|
|
|
+\\\\$rcmail_config[\'language\'] = null;
|
|
|
+\\\\$rcmail_config[\'date_format\'] = \'Y-m-d\';
|
|
|
+\\\\$rcmail_config[\'date_formats\'] = array(\'Y-m-d\', \'d-m-Y\', \'Y/m/d\', \'m/d/Y\', \'d/m/Y\', \'d.m.Y\', \'j.n.Y\');
|
|
|
+\\\\$rcmail_config[\'time_format\'] = \'H:i\';
|
|
|
+\\\\$rcmail_config[\'time_formats\'] = array(\'G:i\', \'H:i\', \'g:i a\', \'h:i A\');
|
|
|
+\\\\$rcmail_config[\'date_short\'] = \'D H:i\';
|
|
|
+\\\\$rcmail_config[\'date_long\'] = \'Y-m-d H:i\';
|
|
|
+\\\\$rcmail_config[\'drafts_mbox\'] = \'Drafts\';
|
|
|
+\\\\$rcmail_config[\'junk_mbox\'] = \'Junk\';
|
|
|
+\\\\$rcmail_config[\'sent_mbox\'] = \'Sent\';
|
|
|
+\\\\$rcmail_config[\'trash_mbox\'] = \'Trash\';
|
|
|
+\\\\$rcmail_config[\'default_folders\'] = array(\'INBOX\', \'Drafts\', \'Sent\', \'Junk\', \'Trash\');
|
|
|
+\\\\$rcmail_config[\'create_default_folders\'] = false;
|
|
|
+\\\\$rcmail_config[\'protect_default_folders\'] = true;
|
|
|
+\\\\$rcmail_config[\'quota_zero_as_unlimited\'] = false;
|
|
|
+\\\\$rcmail_config[\'enable_spellcheck\'] = true;
|
|
|
+\\\\$rcmail_config[\'spellcheck_dictionary\'] = false;
|
|
|
+\\\\$rcmail_config[\'spellcheck_engine\'] = \'googie\';
|
|
|
+\\\\$rcmail_config[\'spellcheck_uri\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'spellcheck_languages\'] = NULL;
|
|
|
+\\\\$rcmail_config[\'spellcheck_ignore_caps\'] = false;
|
|
|
+\\\\$rcmail_config[\'spellcheck_ignore_nums\'] = false;
|
|
|
+\\\\$rcmail_config[\'spellcheck_ignore_syms\'] = false;
|
|
|
+\\\\$rcmail_config[\'recipients_separator\'] = \',\';
|
|
|
+\\\\$rcmail_config[\'max_pagesize\'] = 200;
|
|
|
+\\\\$rcmail_config[\'min_refresh_interval\'] = 60;
|
|
|
+\\\\$rcmail_config[\'upload_progress\'] = false;
|
|
|
+\\\\$rcmail_config[\'undo_timeout\'] = 0;
|
|
|
+\\\\$rcmail_config[\'address_book_type\'] = \'sql\';
|
|
|
+\\\\$rcmail_config[\'ldap_public\'] = array();
|
|
|
+
|
|
|
+\\\\$rcmail_config[\'ldap_public\'][\'localhost\'] = array(
|
|
|
\'name\' => \'localhost\',
|
|
|
\'hosts\' => array(\'127.0.0.1\'),
|
|
|
\'port\' => 389,
|
|
|
@@ -955,85 +964,85 @@ chown _www logs/ || exit 1
|
|
|
\'fuzzy_search\' => true
|
|
|
);
|
|
|
|
|
|
-\\\\\$rcmail_config[\'autocomplete_addressbooks\'] = array(\'sql\',\'localhost\');
|
|
|
-\\\\\$rcmail_config[\'autocomplete_min_length\'] = 1;
|
|
|
-\\\\\$rcmail_config[\'autocomplete_threads\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'autocomplete_max\'] = 15;
|
|
|
-\\\\\$rcmail_config[\'address_template\'] = \'{street}<br/>{locality} {zipcode}<br/>{country} {region}\';
|
|
|
-\\\\\$rcmail_config[\'addressbook_search_mode\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'default_charset\'] = \'ISO-8859-1\';
|
|
|
-\\\\\$rcmail_config[\'skin\'] = \'larry\';
|
|
|
-\\\\\$rcmail_config[\'mail_pagesize\'] = 50;
|
|
|
-\\\\\$rcmail_config[\'addressbook_pagesize\'] = 50;
|
|
|
-\\\\\$rcmail_config[\'addressbook_sort_col\'] = \'surname\';
|
|
|
-\\\\\$rcmail_config[\'addressbook_name_listing\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'timezone\'] = \'auto\';
|
|
|
-\\\\\$rcmail_config[\'prefer_html\'] = true;
|
|
|
-\\\\\$rcmail_config[\'show_images\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'message_extwin\'] = false;
|
|
|
-\\\\\$rcmail_config[\'compose_extwin\'] = false;
|
|
|
-\\\\\$rcmail_config[\'htmleditor\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'prettydate\'] = true;
|
|
|
-\\\\\$rcmail_config[\'draft_autosave\'] = 300;
|
|
|
-\\\\\$rcmail_config[\'preview_pane\'] = false;
|
|
|
-\\\\\$rcmail_config[\'preview_pane_mark_read\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'logout_purge\'] = false;
|
|
|
-\\\\\$rcmail_config[\'logout_expunge\'] = false;
|
|
|
-\\\\\$rcmail_config[\'inline_images\'] = true;
|
|
|
-\\\\\$rcmail_config[\'mime_param_folding\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'skip_deleted\'] = false;
|
|
|
-\\\\\$rcmail_config[\'read_when_deleted\'] = true;
|
|
|
-\\\\\$rcmail_config[\'flag_for_deletion\'] = false;
|
|
|
-\\\\\$rcmail_config[\'refresh_interval\'] = 60;
|
|
|
-\\\\\$rcmail_config[\'check_all_folders\'] = false;
|
|
|
-\\\\\$rcmail_config[\'display_next\'] = true;
|
|
|
-\\\\\$rcmail_config[\'autoexpand_threads\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'reply_mode\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'strip_existing_sig\'] = true;
|
|
|
-\\\\\$rcmail_config[\'show_sig\'] = 1;
|
|
|
-\\\\\$rcmail_config[\'force_7bit\'] = false;
|
|
|
-\\\\\$rcmail_config[\'delete_always\'] = false;
|
|
|
-\\\\\$rcmail_config[\'delete_junk\'] = false;
|
|
|
-\\\\\$rcmail_config[\'mdn_requests\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'mdn_default\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'dsn_default\'] = 0;
|
|
|
-\\\\\$rcmail_config[\'reply_same_folder\'] = false;
|
|
|
-\\\\\$rcmail_config[\'forward_attachment\'] = false;
|
|
|
-\\\\\$rcmail_config[\'default_addressbook\'] = null;
|
|
|
-\\\\\$rcmail_config[\'spellcheck_before_send\'] = false;
|
|
|
-\\\\\$rcmail_config[\'autocomplete_single\'] = false;
|
|
|
-\\\\\$rcmail_config[\'default_font\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'autocomplete_addressbooks\'] = array(\'sql\',\'localhost\');
|
|
|
+\\\\$rcmail_config[\'autocomplete_min_length\'] = 1;
|
|
|
+\\\\$rcmail_config[\'autocomplete_threads\'] = 0;
|
|
|
+\\\\$rcmail_config[\'autocomplete_max\'] = 15;
|
|
|
+\\\\$rcmail_config[\'address_template\'] = \'{street}<br/>{locality} {zipcode}<br/>{country} {region}\';
|
|
|
+\\\\$rcmail_config[\'addressbook_search_mode\'] = 0;
|
|
|
+\\\\$rcmail_config[\'default_charset\'] = \'ISO-8859-1\';
|
|
|
+\\\\$rcmail_config[\'skin\'] = \'larry\';
|
|
|
+\\\\$rcmail_config[\'mail_pagesize\'] = 50;
|
|
|
+\\\\$rcmail_config[\'addressbook_pagesize\'] = 50;
|
|
|
+\\\\$rcmail_config[\'addressbook_sort_col\'] = \'surname\';
|
|
|
+\\\\$rcmail_config[\'addressbook_name_listing\'] = 0;
|
|
|
+\\\\$rcmail_config[\'timezone\'] = \'auto\';
|
|
|
+\\\\$rcmail_config[\'prefer_html\'] = true;
|
|
|
+\\\\$rcmail_config[\'show_images\'] = 0;
|
|
|
+\\\\$rcmail_config[\'message_extwin\'] = false;
|
|
|
+\\\\$rcmail_config[\'compose_extwin\'] = false;
|
|
|
+\\\\$rcmail_config[\'htmleditor\'] = 0;
|
|
|
+\\\\$rcmail_config[\'prettydate\'] = true;
|
|
|
+\\\\$rcmail_config[\'draft_autosave\'] = 300;
|
|
|
+\\\\$rcmail_config[\'preview_pane\'] = false;
|
|
|
+\\\\$rcmail_config[\'preview_pane_mark_read\'] = 0;
|
|
|
+\\\\$rcmail_config[\'logout_purge\'] = false;
|
|
|
+\\\\$rcmail_config[\'logout_expunge\'] = false;
|
|
|
+\\\\$rcmail_config[\'inline_images\'] = true;
|
|
|
+\\\\$rcmail_config[\'mime_param_folding\'] = 0;
|
|
|
+\\\\$rcmail_config[\'skip_deleted\'] = false;
|
|
|
+\\\\$rcmail_config[\'read_when_deleted\'] = true;
|
|
|
+\\\\$rcmail_config[\'flag_for_deletion\'] = false;
|
|
|
+\\\\$rcmail_config[\'refresh_interval\'] = 60;
|
|
|
+\\\\$rcmail_config[\'check_all_folders\'] = false;
|
|
|
+\\\\$rcmail_config[\'display_next\'] = true;
|
|
|
+\\\\$rcmail_config[\'autoexpand_threads\'] = 0;
|
|
|
+\\\\$rcmail_config[\'reply_mode\'] = 0;
|
|
|
+\\\\$rcmail_config[\'strip_existing_sig\'] = true;
|
|
|
+\\\\$rcmail_config[\'show_sig\'] = 1;
|
|
|
+\\\\$rcmail_config[\'force_7bit\'] = false;
|
|
|
+\\\\$rcmail_config[\'delete_always\'] = false;
|
|
|
+\\\\$rcmail_config[\'delete_junk\'] = false;
|
|
|
+\\\\$rcmail_config[\'mdn_requests\'] = 0;
|
|
|
+\\\\$rcmail_config[\'mdn_default\'] = 0;
|
|
|
+\\\\$rcmail_config[\'dsn_default\'] = 0;
|
|
|
+\\\\$rcmail_config[\'reply_same_folder\'] = false;
|
|
|
+\\\\$rcmail_config[\'forward_attachment\'] = false;
|
|
|
+\\\\$rcmail_config[\'default_addressbook\'] = null;
|
|
|
+\\\\$rcmail_config[\'spellcheck_before_send\'] = false;
|
|
|
+\\\\$rcmail_config[\'autocomplete_single\'] = false;
|
|
|
+\\\\$rcmail_config[\'default_font\'] = \'\';
|
|
|
" > config/main.inc.php
|
|
|
';
|
|
|
|
|
|
$cmd[]['rsh']='cd /Library/Server/Web/Data/Sites/Default/webmail || exit 1
|
|
|
echo "<?
|
|
|
-\\\\\$rcmail_config = array();
|
|
|
-\\\\\$rcmail_config[\'db_dsnw\'] = \'mysql://webmail:webmail666@127.0.0.1/webmail\';
|
|
|
-\\\\\$rcmail_config[\'db_dsnr\'] = \'\';
|
|
|
-\\\\\$rcmail_config[\'db_persistent\'] = false;
|
|
|
+\\\\$rcmail_config = array();
|
|
|
+\\\\$rcmail_config[\'db_dsnw\'] = \'mysql://webmail:webmail666@127.0.0.1/webmail\';
|
|
|
+\\\\$rcmail_config[\'db_dsnr\'] = \'\';
|
|
|
+\\\\$rcmail_config[\'db_persistent\'] = false;
|
|
|
|
|
|
// you can define specific table names used to store webmail data
|
|
|
-\\\\\$rcmail_config[\'db_table_users\'] = \'users\';
|
|
|
-\\\\\$rcmail_config[\'db_table_identities\'] = \'identities\';
|
|
|
-\\\\\$rcmail_config[\'db_table_contacts\'] = \'contacts\';
|
|
|
-\\\\\$rcmail_config[\'db_table_contactgroups\'] = \'contactgroups\';
|
|
|
-\\\\\$rcmail_config[\'db_table_contactgroupmembers\'] = \'contactgroupmembers\';
|
|
|
-\\\\\$rcmail_config[\'db_table_session\'] = \'session\';
|
|
|
-\\\\\$rcmail_config[\'db_table_cache\'] = \'cache\';
|
|
|
-\\\\\$rcmail_config[\'db_table_cache_index\'] = \'cache_index\';
|
|
|
-\\\\\$rcmail_config[\'db_table_cache_thread\'] = \'cache_thread\';
|
|
|
-\\\\\$rcmail_config[\'db_table_cache_messages\'] = \'cache_messages\';
|
|
|
-\\\\\$rcmail_config[\'db_table_dictionary\'] = \'dictionary\';
|
|
|
-\\\\\$rcmail_config[\'db_table_searches\'] = \'searches\';
|
|
|
-\\\\\$rcmail_config[\'db_table_system\'] = \'system\';
|
|
|
+\\\\$rcmail_config[\'db_table_users\'] = \'users\';
|
|
|
+\\\\$rcmail_config[\'db_table_identities\'] = \'identities\';
|
|
|
+\\\\$rcmail_config[\'db_table_contacts\'] = \'contacts\';
|
|
|
+\\\\$rcmail_config[\'db_table_contactgroups\'] = \'contactgroups\';
|
|
|
+\\\\$rcmail_config[\'db_table_contactgroupmembers\'] = \'contactgroupmembers\';
|
|
|
+\\\\$rcmail_config[\'db_table_session\'] = \'session\';
|
|
|
+\\\\$rcmail_config[\'db_table_cache\'] = \'cache\';
|
|
|
+\\\\$rcmail_config[\'db_table_cache_index\'] = \'cache_index\';
|
|
|
+\\\\$rcmail_config[\'db_table_cache_thread\'] = \'cache_thread\';
|
|
|
+\\\\$rcmail_config[\'db_table_cache_messages\'] = \'cache_messages\';
|
|
|
+\\\\$rcmail_config[\'db_table_dictionary\'] = \'dictionary\';
|
|
|
+\\\\$rcmail_config[\'db_table_searches\'] = \'searches\';
|
|
|
+\\\\$rcmail_config[\'db_table_system\'] = \'system\';
|
|
|
|
|
|
// you can define specific sequence names used in PostgreSQL
|
|
|
-\\\\\$rcmail_config[\'db_sequence_users\'] = \'user_ids\';
|
|
|
-\\\\\$rcmail_config[\'db_sequence_identities\'] = \'identity_ids\';
|
|
|
-\\\\\$rcmail_config[\'db_sequence_contacts\'] = \'contact_ids\';
|
|
|
-\\\\\$rcmail_config[\'db_sequence_contactgroups\'] = \'contactgroups_ids\';
|
|
|
-\\\\\$rcmail_config[\'db_sequence_searches\'] = \'search_ids\';
|
|
|
+\\\\$rcmail_config[\'db_sequence_users\'] = \'user_ids\';
|
|
|
+\\\\$rcmail_config[\'db_sequence_identities\'] = \'identity_ids\';
|
|
|
+\\\\$rcmail_config[\'db_sequence_contacts\'] = \'contact_ids\';
|
|
|
+\\\\$rcmail_config[\'db_sequence_contactgroups\'] = \'contactgroups_ids\';
|
|
|
+\\\\$rcmail_config[\'db_sequence_searches\'] = \'search_ids\';
|
|
|
// end db config file
|
|
|
" > config/db.inc.php';
|
|
|
|