postfix troubleshooting工具

postconf -n
postfix check
netstat -tap

/etc/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login


dovecot troubleshooting
$ telnet mailserver 110
Trying mailserver...
Connected to mailserver (1.1.1.1).
Escape character is '^]'.
+OK Dovecot ready.
user ethanlee
-ERR Plaintext authentication disallowed on non-secure (SSL/TLS) connections.
-ERR Disconnected for inactivity.
Connection closed by foreign host.

solution:
vi /etc/dovecot/conf.d/10-auth.conf
#disable_plaintext_auth = yes
disable_plaintext_auth = no

/etc/init.d/dovecot restart


[安裝openwebmail]
cd /etc/yum.repos.d
wget http://repos.fedorapeople.org/repos/jkaluza/httpd24/epel-httpd24.repo

安裝套件
yum install openwebmail perl-CGI httpd

啟動httpd
/etc/init.d/httpd start

第一次執行以下指令,如果有錯誤會提醒你修改設定檔
/var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init

預設登入網址為
http://ip/cgi-bin/openwebmail/openwebmail.pl

登入後,如果發現預設icon是英文的話,要改成正體中文修改以下設定檔
/var/www/cgi-bin/openwebmail/etc/openwebmail.conf
#default_iconset                Cool3D.English
default_iconset                 Cool3D.Chinese.Traditional

arrow
arrow
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()