3月 18, 2012

Exim4 與 SquirrelMail 設定


設定 Exim4


​# apt-get install dovecot-common dovecot-imapd dovecot-pop3d

# vim /etc/dovecot/dovecot.conf 加入
protocols = imap imaps pop3 pop3s
# vim /etc/exim4/update-exim4.conf.conf
dc_eximconfig_configtype='internet'
# 接收 user@mail.server.net 的信件
dc_other_hostnames='mail.server.net'
# 接受各方連線
dc_local_interfaces='0.0.0.0'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
# exim4 -bt user (檢測郵件派送路徑)
R: system_aliases for user@mail.server.net
R: userforward for user@mail.server.net
R: procmail for user@mail.server.net
R: maildrop for user@mail.server.net
R: lowuid_aliases for user@mail.server.net (UID 1000)
R: local_user for user@mail.server.net
user@mail.server.net
router = local_user, transport = mail_spool


設定 SquirrelMail


1. 至 SquirrelMail 網站下載最新版

2. 在 SquirrelMail Configuration - Languages 下面(控制信件內容)
Default Language : zh_TW
Default Charset : UTF-8
3. 在 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';

沒有留言:

張貼留言