安裝
aptg squirrelmail
設定介面
/usr/sbin/squirrelmail/mail-configure
複製設定檔
cp /etc/squirrelmail/apache.conf /etc/apache2/conf.d/squirrelmail.conf
如apache已有設定
編輯/etc/apache2/sites-enable/default
加上如下內容
ServerName yourdomain.com
[/VirtualHost]
就可以用http://yourdomain.com/ 來登入
1.郵件列表中文出現亂碼時,編輯 /config/config.php:
$squirrelmail_default_language = ‘zh_TW’;
$default_charset = ‘big5′;
$lossy_encoding = false;
2.操作介面中文出現亂碼時,編輯 /functions/i18n.php:
$languages[’zh_TW’][’NAME’] = ‘Chinese Trad’;
$languages[’zh_TW’][’CHARSET’] = ‘big5′;
$languages[’zh_TW’][’LOCALE’] = array(‘zh_TW.UTF-8′, ‘zh_TW.big5′);
$languages[’tw’][’ALIAS’] = ‘zh_TW’;
3.下載附件中文檔名亂碼,編輯src/download.php:
$filename = charset_encode($filename,$default_charset,false);
$filename = iconv(“big5〃,”utf-8〃,$filename); //新增這一行
沒有留言:
張貼留言