修复Sendgrid的Postfix身份验证?

编程入门 行业动态 更新时间:2024-10-28 09:20:02
本文介绍了修复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身份验证?

本文发布于:2023-10-13 00:39:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1486318.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:身份验证   Sendgrid   Postfix

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!