linux – 在Ubuntu上使用Postfix的Dovecot:警告:SASL:连接到p
发布时间:2020-12-13 16:47:28 所属栏目:Linux 来源:网络整理
导读:我似乎无法启动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 directoryMar 1 17:15:01 mac postfix/smtpd[325
我似乎无法启动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). (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |