【问题标题】:Fix Postfix Authentication for Sendgrid? [closed]修复 Sendgrid 的 Postfix 身份验证? [关闭]
【发布时间】:2012-04-05 05:04:16
【问题描述】:

我在配置 Postfix 以通过中继向 Sendgrid 传递电子邮件时遇到问题。

我收到以下错误:“不允许未经身份验证的发件人”

【问题讨论】:

标签: postfix-mta sendgrid sasl


【解决方案1】:

看起来像是 Postfix 中的 SASL 配置向 Sendgrid 进行身份验证。我们能够使用以下内容:

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.net]:587

【讨论】:

  • 感谢您分享您的解决方案,这是使 Sendgrid 在 Google Compute Engine 上为我工作的唯一方法。
  • 这是什么问题:SASL 身份验证失败:找不到有价值的机甲? to=, relay=smtp.sendgrid.net[159.122.219.43]:587, delay=2.5, delays=0.04/0.04/2.4/0, dsn=4.7.0, status=deferred (SASL身份验证失败;无法向服务器 smtp.sendgrid.net [159.122.219.43] 进行身份验证:没有可用的机制)
猜你喜欢
  • 2015-05-22
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-11-26
  • 2015-08-09
  • 1970-01-01
  • 2012-01-03
相关资源
最近更新 更多