執行設定程式
/usr/sbin/squirrelmail-configure
編輯 /etc/apache2/apache.conf
加入
Include /etc/squirrelmail/apache.conf
http://yourhostnameorip/
/etc/squirrelmail/config.php
$org_name = "Winpex Web Mail";
$squirrelmail_default_language = 'zh_TW';
$domain = 'mail1.winpex-gl.com';
$default_charset = 'Big5';
1.郵件列表中文出現亂碼
編輯 /usr/share/squirrelmail/config/config.php
$squirrelmail_default_language = ‘zh_TW’;
$default_charset = ‘big5′;
$lossy_encoding = false;
2.操作介面中文出現亂碼
編輯 /usr/share/squirrelmail/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.下載附件中文檔名亂碼
編輯 /usr/share/squirrelmail/src/download.php
$filename = charset_encode($filename,$default_charset,false);
$filename = iconv(‘big5’,’utf-8’,$filename);
沒有留言:
張貼留言