Dovecot 是一个 IMAP 和 POP3 服务器
确保安装了所需的包
# rpm -qa | grep dovecot
如果默认情况下未安装该软件包,则使用 yum 安装
# yum -y install dovecot
进行以下更改
# vi /etc/dovecot/dovecot.conf protocols = imap imaps pop3 pop3s protocol imap { listen = *:143 # ssl_listen = *:10943 # .. } protocol pop3 { listen = *:110 # .. } # protocol managesieve { # listen = *:12000 # .. # 211 行: 取消注释并且添加 mail_location =maildir:~/Maildir mechanisms = plain login socket listen { # master { # Master socket provides access to userdb information. It's typically # used to give Dovecot's local delivery agent access to userdb so it # can find mailbox locations. #path = /var/run/dovecot/auth-master #mode = 0600 # Default user/group is the one who started dovecot-auth (root) #user = #group = #} client { # The client socket is generally safe to export to everyone. Typical use # is to export it to your SMTP server so it can do SMTP AUTH lookups # using it. path = /var/spool/postfix/private/auth-client mode = 0660 user = postfix group = postfix } }
重启服务
# service dovecot restart
如果我们收到任何错误消息,请查找位于其中的日志文件
日期:2020-06-02 22:16:56 来源:oir作者:oir