dovecot / postfix:可以通过webmin发送和接收,但松鼠邮件和outlook无法连接

我刚才在今天早些时候完成了在我的服务器(centos 5.5 / apache)上设置dovecot和postfix。 到目前为止,我已经能够通过webmin的电子邮件工作(可以发送/接收和从外部域)。 但是,尝试telnet xxx.xxx.xx.xxx 110将返回以下错误:

连接到xxx.xxx.xx.xxx。  
转义字符是'^]'。  
准备好鸽子了  
 USER mailtest  
 + OK  
通过*********  
 +确定login。  
 -ERR [IN-USE]无法打开INBOX:发生内部错误。 请参阅服务器日志以获取更多信息。  [2011-02-11 22:55:48]  
外部主机closures连接。  

进一步logging以下错误

 dovecot:Feb 11 21:32:48信息:pop3-login:login:user =,method = PLAIN,rip = :: ffff:xxx.xxx.xx.xxx,lip = :: ffff:xxx.xxx.xx。 xxx,TLS  
 dovecot:Feb 11 21:32:48错误:POP3(mailtest):stat(/ home / mailtest / MailDir / cur)失败:权限被拒绝  
 dovecot:Feb 11 21:32:48错误:POP3(mailtest):stat(/ home / mailtest / MailDir / cur)失败:权限被拒绝  
 dovecot:Feb 11 21:32:48错误:POP3(mailtest):无法打开INBOX:发生内部错误。 请参阅服务器日志以获取更多信息。  [2011-02-11 21:32:48]  
 dovecot:Feb 11 21:32:48信息:POP3(mailtest):无法打开INBOX top = 0/0,retr = 0/0,del = 0/0,size = 0

此外,当试图login到squirrelmail或通过雷鸟/实时邮件等访问帐户,它显然失败了类似的问题。

任何build议或外部思考这将是一个巨大的帮助! 我已经用尽了所有的资源,并尝试了我的dovecot.conf文件的每一个build议,但到目前为止似乎没有任何工作:(我觉得它可能是一个权限/所有权问题,但我迷失的具体情况。

看起来问题是“stat(/ home / mailtest / MailDir / cur)失败:权限被拒绝”。 确保无论用户在运行Dovecot进程,目录都是可读的。

dovecot: Feb 11 21:32:48 Error: POP3(mailtest): stat(/home/mailtest/MailDir/cur) failed: Permission denied 

表示dovecot pop3服务器进程不可读/写/ home / mailtest / MailDir / cur。 什么

 ls -lah /home/mailtest/MailDir 

在目录上显示权限?

还要检查/var/log/messages/maillog来查看dovecot在那里报告的错误消息。

squirrelmail和thunderbird也可能使用通过dovecot连接到机器。

请注意,dovecot pop3进程是以访问它的用户身份运行的,所以这可能意味着mailtest用户不是/ home / mailtest / MailDir的所有者。