收不到邮件问题,解决
[root@mail dovecot]# vi /etc/dovecot/dovecot.conf
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
}
# unix_listener auth-client {
# group = postfix
# mode = 0600
# user = postfix
# }
unix_listener auth-master {
user = vmail
group = vmail
mode = 0666
}
[root@mail dovecot]# vi /etc/postfix/main.conf
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_security_options = noanonymous
#smtpd_sasl_path = /var/run/dovecot/auth-client
smtpd_sasl_path = private/auth
就是说vi /etc/postfix/main.conf 里的private/auth和vi /etc/dovecot/dovecot.conf的/var/spool/postfix/private/auth要一致