十二月 2018
« 八月    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

彙整

CentOS 使用簡易版 SquirrelMail 當 WEBMAIL

CentOS 使用簡易版 SquirrelMail 當 WEBMAIL

 

安裝套件

yum -y install gmp gmp-devel curl curl-devel libidn libidn-devel php php-pear libc-client* php-imap

yum -y install squirrelmail

設定參數

[root@mail1 ~]# vi /etc/squirrelmail/config.php

$org_name = "Winpex Web Mail";

$squirrelmail_default_language = ‘zh_TW’;

$domain = ‘mail1.winpex-gl.com’;

$default_charset = ‘Big5’;

以下修改根目錄: /usr/share/squirrelmail/

SquirrelMail:郵件列表中文出現亂碼時,編輯 config/config.php:

$squirrelmail_default_language = ‘zh_TW’; $default_charset = ‘big5′; $lossy_encoding = false;

SquirrelMail:操作介面中文出現亂碼時,編輯 functions/i18n.php:

$languages[‘zh_TW’][‘NAME’] = ‘Chinese Trad’; $languages[‘zh_TW’][‘CHARSET’] […]