由于本人嫌麻烦,而且没有对pop邮件加密的需求(自己设来玩的),所以搞通一个没有SSL加密的pop。
服务: dovecot
配置文件:/etc/dovecot/conf.d/10-auth.conf
直接从/etc/dovecot/conf.d/10-auth.conf入手:
# Disable LOGIN command and all other plaintext authentications unless
# SSL/TLS is used (LOGINDISABLED capability)
这句话已经解释得很清楚了,如果你要是设置了disable_plaintext_auth = yes, 那除了SSL/TSL方式登录,其他方式没门。
所以首先你要保证disable_plaintext_auth = no.
你有可能直接能用:mutt -f pop://user@domainname 登录进去,那的电脑很给你。但是我不是,怎么都登不进去。
看看错误:
Initialization failed: Namespace '': mkdir(/home/user/mail),。。。。。。。。
看来mutt这哥们非要去/home/user/mail 看看,行我创建一个。
mkdir /home/user/mail/
chown user:user/home/apache/mail/
能登陆了,搞定。
他奶奶的,我去看看他非要这个干什么。
ls -Ral /home/user/mail/
dovecot.index.cache
dovecot.index.log
原来要建立缓存和日志, 行,我表示理解。