Roundcube

FreeBSD 10.1

pkg update
pkg install apache24 mysql57-client mysql57-server mod_php56 roundcube
vi /etc/rc.conf
mysql_secure_installation
mysqld_safe --init-file=/root/mysql-reset-pass &
service mysql-server restart

создаем БД для RC

mysql -u rcubeuser -rcubepasswd roundcubemaildb < [/usr/local/www/roundcube/SQL/mysql.initial.sql]

По адресу /usr/local/www/roundcube/config/ кладем файлы:

config.inc.php
<?php
$config['db_dsnw'] = 'mysql://rcubeuser:rcubepasswd@localhost/roundcubemaildb';
 
$config['debug_level'] = 5;
 
$config['imap_conn_options'] = array(
 'ssl'         => array(
     'verify_peer'       => false,
     'verfify_peer_name' => false,
     'allow_self_signed' => true,
  ),
);
 
$config['default_host'] = array(
	'ssl://imap.gmail.com' => 'Chroot',
	'tls://mx.bigtelecom.ru' => 'Khimki',
);
 
$config['include_host_config'] = array(
	'ssl://imap.gmail.com' => 'chroot.inc.php',
	'tls://mx.bigtelecom.ru' => 'khimki.inc.php',
);
 
$config['smtp_conn_options'] = array(
  'ssl'         => array(
      'verify_peer'      => false,
      'verify_peer_name' => false,
      'allow_self_signed' => true,
  ),
);
 
$config['smtp_user'] = '%u';
 
$config['smtp_pass'] = '%p';
 
$config['support_url'] = '';
 
$config['des_key'] = 'somethingDESKey';
 
$config['plugins'] = array('additional_message_headers', 'archive', 'database_attachments', 'emoticons', 'managesieve', 'password', 'show_additional_headers', 'zipdownload');
 
$config['language'] = 'en_RU';
 
$config['preview_pane'] = true;
 
$config['mime_param_folding'] = 0;
khimki.inc.php
$config['default_host'] = 'tls://mx.bigtelecom.ru';
 
$config['default_port'] = 143;
 
$config['imap_conn_options'] = array(
 'ssl'         => array(
	'verify_peer'       => false,
	'verfify_peer_name' => false,
	'allow_self_signed' => true
  ),
);
 
$config['smtp_server'] = 'tls://mx.bigtelecom.ru';
 
$config['smtp_port'] = 587;
chroot.inc.php
$config['default_host'] = 'ssl://imap.gmail.com';
 
$config['default_port'] = 993;
 
$config['imap_conn_options'] = array(
 'ssl'         => array(
     'verify_peer'       => false,
     'verfify_peer_name' => false,
  ),
);
 
$config['smtp_server'] = 'ssl://smtp.gmail.com';
 
$config['smtp_port'] = 465;
 
$config['username_domain'] = 'chroot.ru';
unix/mail/roundcube.txt · Last modified: 2017/01/23 15:50 by rybario
About this template
CC Attribution-Share Alike 4.0 International
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5