mail_location not set and autodetection failed 解决方案[devecot, sendmail]

安装dovecot比较简单, 但是也需要配置, 如果不进行任何配置时,在测试时会出现如下的提示: 

dovecot: pop3(wwufengg): Error: user wwufengg: Initialization failed: mail_location not set and autodetection failed: Mail storage autodetection failed with home=/home/wwufengg

出现这种问题的原因就是关于授权的问题, 解决方案是, 编辑/etc/dovecot/dovecot.conf文件, 在最下面添加如下语句:

protocols = pop3
disable_plaintext_auth = no
ssl = no
mail_location = mbox:/var/mail:INBOX=/var/mail/%u

如截图:

保存后再重启dovecot, 然后再进行登陆, 就不会出现:

dovecot: pop3(wwufengg): Error: user wwufengg: Initialization failed: mail_location not set and autodetection failed: Mail storage autodetection failed with home=/home/wwufengg

这种提示了, 至此, 该问题解决.

 source: http://www.cnblogs.com/wwufengg/p/devecot-mail_location-autodetection-failed.html

 

 

posted @ 2013-11-16 10:03  月影传说  阅读(2072)  评论(0编辑  收藏  举报