本文介绍了修复Sendgrid的Postfix身份验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法配置Postfix通过中继将电子邮件发送到Sendgrid.
I'm having trouble configuring Postfix to deliver e-mail via relay to Sendgrid.
我收到以下错误:不允许未经身份验证的发件人"
I get the following error: "Unauthenticated senders not allowed"
推荐答案它看起来像是Postfix中的SASL配置,用于对Sendgrid进行身份验证.我们能够使用以下内容:
Looks like it was the SASL config within Postfix authenticating to Sendgrid. We were able to use the following:
smtpd_sasl_local_domain = $myhostname smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination mailbox_size_limit = 256000000 # Sendgrid Settings smtp_sasl_auth_enable = yes smtp_sasl_password_maps = static:SENDGRID_ACCOUNT_EMAIL_HERE:PASSWORD_HERE smtp_sasl_security_options = noanonymous smtp_tls_security_level = may header_size_limit = 4096000 relayhost = [smtp.sendgrid]:587更多推荐
修复Sendgrid的Postfix身份验证?
发布评论