我似乎无法启动dovecot.
我的日志不断显示这些东西:
我的日志不断显示这些东西:
connect from localhost[127.0.0.1] Mar 1 17:15:01 mac postfix/smtpd[32526]: warning: SASL: Connect to private/auth-client Failed: No such file or directory Mar 1 17:15:01 mac postfix/smtpd[32526]: fatal: no SASL authentication mechanisms Mar 1 17:15:02 mac postfix/master[21369]: warning: process /usr/lib/postfix/smtpd pid 32526 exit status 1 Mar 1 17:15:02 mac postfix/master[21369]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling Mar 1 17:15:03 mac postfix/smtpd[32546]: connect from localhost[127.0.0.1] Mar 1 17:15:03 mac postfix/smtpd[32546]: warning: SASL: Connect to private/auth-client Failed: No such file or directory Mar 1 17:15:03 mac postfix/smtpd[32546]: fatal: no SASL authentication mechanisms Mar 1 17:15:04 mac postfix/master[21369]: warning: process /usr/lib/postfix/smtpd pid 32546 exit status 1 Mar 1 17:15:04 mac postfix/master[21369]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
我的/etc/postfix/main.cf有:
home_mailBox = Maildir/ mailBox_command = inet_protocols = ipv4 smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth-client smtpd_sasl_local_domain = smtpd_sasl_security_options = noanonymous
client { path = /var/spool/postfix/auth/dovecot mode = 0660 user = postfix group = mail }
但是自从我找到的所有例子以来,dovecot似乎已经改变了,所以我不确定在哪里放这个.我正在使用Dovecot 2.0.13
任何想法如何解决这一问题?
谢谢!
解决方法
我全神贯注地看着这个并没有找到任何东西.我正在使用Dovecot 2.0.19.
通过编辑/etc/dovecot/conf.d/10-master.conf并设置以下内容,最终找到了修复程序:
# Postfix smtp-auth unix_listener /var/spool/postfix/private/auth_client { mode = 0666 user = postfix }
然后重启dovecot(‘service restart dovecot’)
如果您没有文件/etc/dovecot/conf.d/10-master.conf,请尝试使用grepping / etc / dovecot查找可能配置的位置:
cd /etc/dovecot grep -ri postfix *
并查找一个文件,声明/ var / spool / postfix中某处的路径,并根据需要进行调整.在我的dovecot配置中,unix_listener被注释掉并指向错误的文件(/ var / spool / postfix / private / auth).