hMailServer中文论坛 QQ群:80049760 搭建专业企业级邮件服务器 联系Q3824517

config.inc.php

hMailServer教程相关文章。

版主: Hsia

回复
头像
Hsia
网站管理员
网站管理员
帖子: 333
注册: 2014年11月26日, 12:41
地址: 上海
联系:

config.inc.php

帖子 Hsia » 2016年5月22日, 16:41

一段大概的。部分已经去掉。

代码: 全选

$config['db_dsnw'] = 'mysql://root:文字修改成mysql密码@localhost/roundcubemail';


// IMAP
$config['default_host'] = '127.0.0.1';
$config['default_port'] = 143;
$config['imap_auth_type'] = 'LOGIN';
$config['imap_delimiter'] = '/';
$config['imap_conn_options'] = array(
    'ssl' => array(
        'verify_peer'  => false,
        'verify_peer_name' => false,
    ),
);

// SMTP
$config['smtp_server'] = '127.0.0.1';
$config['smtp_port'] = 25;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['smtp_auth_type'] = 'login';
$config['smtp_conn_options'] = array(
    'ssl' => array(
        'verify_peer'      => false,
        'verify_peer_name' => false,
    ),
);

// provide an URL where a user can get support for this Roundcube installation
// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE!
$config['support_url'] = '';


$config['username_domain'] = '自己的域名';

// Name your service. This is displayed on the login screen and in the window title
$config['product_name'] = '邮件系统';

// ----------------------------------
// PLUGINS
// ----------------------------------
// List of active plugins (in plugins/ directory)
$config['plugins'] = array('password');

// the default locale setting (leave empty for auto-detection)
// RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR
$config['language'] = 'zh_cn';
$config['default_imap_folders'] = array('INBOX', 'INBOX.Drafts', 'INBOX.Sent', 'INBOX.Junk', 'INBOX.Trash');
$config['auto_create_user'] = true;
$config['create_default_folders'] = true;
参考:https://github.com/roundcube/roundcubem ... figuration

回复