ispconfig plugin - roundcube

最後更新: 2017-03-27

介紹

 

主頁: https://github.com/w2c/ispconfig3_roundcube

Function

Plugin: Account
    Mail alias functions

Plugin: Autoreply
    Client functions
    Mail user functions

Plugin: Autoselect
    Server functions

 


下載 Plugin

 

# 安裝 git:

yum install git

# 下載:

git clone https://github.com/w2c/ispconfig3_roundcube.git

# 下載安裝包:

wget https://github.com/w2c/ispconfig3_roundcube/archive/master.zip

 


啟用那些 plugin

 

cp -a ispconfig3_pass ispconfig3_forward ispconfig3_account ispconfig3_autoreply  /usr/share/roundcubemail/plugins/

修改 roundecube 的 /config/main.inc.php 內的

$rcmail_config['plugins'] = array(
"jqueryui", "ispconfig3_account", "ispconfig3_autoreply",
"ispconfig3_pass", "ispconfig3_forward"
);

複製此系列 plugin 的設定檔

cd /usr/share/roundcubemail/plugins/ispconfig3_account/config

cp -a config.inc.php.dist config.inc.php

 


保護

 

vi /etc/httpd/conf/sites-enabled/000-ispconfig.vhost

<Directory /usr/local/ispconfig/interface/web/remote/>
  Options +FollowSymLinks
  AllowOverride None
  Order allow,deny
  Allow from 127.0.0.1
  php_value magic_quotes_gpc        0
</Directory>

Testing

curl -I http://127.0.0.1:8080/remote/

HTTP/1.1 200 OK
....

 


soap_user (remote user) 權限

 

mail_domain_get,mail_domain_add,mail_domain_update,mail_domain_set_status,mail_domain_get_by_domain;

mail_user_get,mail_user_add,mail_user_update;

mail_alias_get,mail_alias_add,mail_alias_update,mail_alias_delete;

mail_forward_get,mail_forward_add,mail_forward_update,mail_forward_delete;

mail_catchall_get,mail_catchall_add,mail_catchall_update,mail_catchall_delete;

client_get,client_add,client_update,client_get_sites_by_user,client_get_by_username,client_change_password,client_get_id

簡易 Setting:

System -> Remote User

Server functions
Client functions
Mail user functions
Mail alias functions
Mail fetchmail functions
Mail user filter functions
Mail spamfilter user functions
Mail spamfilter policy functions
Mail spamfilter whitelist functions
Mail spamfilter blacklist functions

 


個別 Plugin 的 Setting

 

ispconfig3_account

config.inc.php

<?php
 $rcmail_config['identity_limit'] = false;
 $rcmail_config['remote_soap_user'] = 'roundcube';
 $rcmail_config['remote_soap_pass'] = 'xxxx';
 $rcmail_config['soap_url'] = 'https://127.0.0.1:8080/remote/';
?>

ispconfig3_pass

<?php
 $rcmail_config['password_confirm_current'] = TRUE;
 $rcmail_config['password_min_length'] = 6;
 $rcmail_config['password_check_symbol'] = FALSE;
 $rcmail_config['password_check_lower'] = TRUE;
 $rcmail_config['password_check_upper'] = TRUE;
 $rcmail_config['password_check_number'] = TRUE;
?>

 


 

 

 

 

Creative Commons license icon Creative Commons license icon