rhel5 搭建postfix錯誤,查了好幾天無果。特請高手指教!
我用http://192.168.3.155/webmail/src/login.php登陸;用戶名和密碼是正解的,提示以下錯誤
左邊的:
系統錯誤出錯:
ERROR: Could not complete request.
查詢: CREATE "Sent"
Reason Given: Internal error occurred. Refer to server log for more information.
中間的錯誤提示:
系統出錯:
ERROR: Could not complete request.
查詢: SELECT "INBOX"
Reason Given: Internal error occurred. Refer to server log for more information.
/var/log/httpd/access_log信息:
192.168.2.37 - - "POST /webmail/src/redirect.
php HTTP/1.1" 302 - "http://192.168.3.155/webmail/src/login.php" "Mozilla/
4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
192.168.2.37 - - "GET /webmail/src/webmail.ph
p HTTP/1.1" 200 340 "http://192.168.3.155/webmail/src/login.php" "Mozilla/
4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
192.168.2.37 - - "GET /webmail/src/right_main
.php HTTP/1.1" 200 1139 "http://192.168.3.155/webmail/src/webmail.php" "Mo
zilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
192.168.2.37 - - "GET /webmail/src/left_main.
php HTTP/1.1" 200 1221 "http://192.168.3.155/webmail/src/webmail.php" "Moz
illa/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
搭建所用組件:
mysql,postfixadmin,dovecot,postfix,squirrelmail
開機監聽埠:
State PID/Program name
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 2549/hpiod
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2679/mysqld
tcp 0 0 0.0.0.0:844 0.0.0.0:* LISTEN 2358/rpc.statd
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2714/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2714/dovecot
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2329/portmap
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2566/cupsd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2778/master
tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN 2554/python
tcp 0 0 :::80 :::* LISTEN 2803/httpd
tcp 0 0 :::22 :::* LISTEN 2580/sshd
tcp 0 0 :::443 :::* LISTEN 2803/httpd
《解決方案》
http://wiki.extmail.org/doku.php
樓主試試extmail
《解決方案》
上面的問題己查明:是/etc/dovecot-mysql.conf中的uid和gid沒有更正所致。
但是又有了新的問題:
由於伺服器拒絕收件人之一,無法發送郵件。被拒絕的電子郵件地址是「test01@leaf.com」。 主題 'test', 帳戶: '192.168.3.155', 伺服器: '192.168.3.155', 協議: SMTP, 伺服器響應: '504 5.5.2 <tj360>: Helo command rejected: need fully-qualified hostname', 埠: 25, 安全(SSL): 否, 伺服器錯誤: 504, 錯誤號: 0x800CCC79
《解決方案》
vi /etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
可是現在郵箱只能發郵件,不能收郵件??????????????????