主题: 邮件系统无法pop3&imap服务

邮件系统(postfix++dovecot+postfixadmin+apache+mysql->异地+Squerrimail

dovecot.conf配置如下:
base_dir=/var/run/dovecot
protocols = imap imaps pop3 pop3s
listen=*
disable_plaintext_auth = no
ssl_disable = yes
mail_location = maildir:/var/spool/mail/%d/%n

auth default {
        mechanisms = PLAIN LOGIN CRAM-MD5 DIGEST-MD5
        passdb sql {
                args = /etc/dovecot-mysql.conf
        }
        userdb sql {
                args = /etc/dovecot-mysql.conf
        }
        socket listen {
                client {
                        path = /var/run/dovecot/auth-client
                        mode = 0660
                        user = postfix
                        group = postfix
                }
        }
}
first_valid_uid = 89

dovecot-mysql.conf 配置如下:
driver = mysql
connect = host=192.168.1.2 dbname=postfix user=root password=123456
default_pass_scheme = MD5
password_query = SELECT password FROM mailbox WHERE username = '%u'
user_query = SELECT maildir, 89 AS uid, 89 AS gid FROM mailbox WHERE username = '%u'

测试邮件系统结果:可以发送163&Gmail等邮件,但无法收却本地&Gmail的邮件!

Mail错误日志:
Apr  9 19:30:51 www dovecot: pop3-login: Login: user=<test@rhms.org.cn>, method=PLAIN, rip=58.240.65.XXX, lip=58.240.65.XXX, secured
Apr  9 19:30:51 www dovecot: POP3(test@rhms.org.cn): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Apr  9 19:30:51 www dovecot: pop3-login: Login: user=<test@rhms.org.cn>, method=PLAIN, rip=58.240.65.XXX, lip=58.240.65.XXX, secured
Apr  9 19:30:51 www dovecot: POP3(test@rhms.org.cn): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Apr  9 19:30:51 www dovecot: pop3-login: Login: user=<test@rhms.org.cn>, method=PLAIN, rip=58.240.65.XXX lip=58.240.65.XXX, secured
Apr  9 19:30:51 www dovecot: POP3(test@rhms.org.cn): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Apr  9 19:30:52 www dovecot: pop3-login: Login: user=<test@rhms.org.cn>, method=PLAIN, rip=58.240.65.XXX lip=58.240.65.XXX, secured
Apr  9 19:30:52 www dovecot: POP3(test@rhms.org.cn): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0

回复: 邮件系统无法pop3&amp;imap服务

看你域名的MX指針指向的是什麽~

回复: 邮件系统无法pop3&amp;imap服务

DNS解析设置好了,可是好像还没有用耶!pop3&imap还是无法正常使用!

回复: 邮件系统无法pop3&amp;imap服务

看一下 dovecot 這個服務正常在運行么?