Mac OS X 10.10 Yosemite Postfix SASL 身份验证失败 [英] Mac OS X 10.10 Yosemite Postfix SASL authentication failed

查看:34
本文介绍了Mac OS X 10.10 Yosemite Postfix SASL 身份验证失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照下面链接中描述的步骤设置我的 mac 以发送电子邮件.http://www.anujgakhar.com/2011/12/09/using-macosx-lion-command-line-mail-with-gmail-as-smtp/

I followed the step described in the link below to setup my mac to send out email. http://www.anujgakhar.com/2011/12/09/using-macosx-lion-command-line-mail-with-gmail-as-smtp/

它在我的 Mac OS X 10.9 上运行良好.但是在我升级到 OS X 10.10 之后.mail.log 显示以下错误.有什么问题?

It was working fine on my Mac OS X 10.9. But after I upgraded to OS X 10.10. The mail.log showed the following error. What is the problem?

Oct 19 00:28:22 paullam-macbook-pro.local postfix/smtp[30383]: 6B47B8AD4E8: SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.68.109]: generic failure
Oct 19 00:28:24 paullam-macbook-pro.local postfix/smtp[30383]: 6B47B8AD4E8: to=<zzpaul@gmail.com>, relay=smtp.gmail.com[74.125.68.108]:587, delay=3.4, delays=0.01/0/3.4/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.68.108]: generic failure)

推荐答案

我也遇到了同样的问题.谷歌搜索出现了这个链接:http://hkitago.com/2014/09/yosemiteのpostfix设置/

I had the same problem. A Google search turned up this link: http://hkitago.com/2014/09/yosemiteのpostfix設定/

原来我在/etc/postfix/main.cf 中缺少以下行:

It turned out I was missing the following line in /etc/postfix/main.cf:

smtp_sasl_mechanism_filter = plain

这篇关于Mac OS X 10.10 Yosemite Postfix SASL 身份验证失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆