廣告

2024 年 11 月
 123
45678910
11121314151617
18192021222324
252627282930  

彙整

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’] […]