首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >配置sSMTP中继sendgrid的Smarthost配置

配置sSMTP中继sendgrid的Smarthost配置
EN

Stack Overflow用户
提问于 2016-11-27 21:39:55
回答 1查看 1.1K关注 0票数 1

“清楚的问题陈述”是如何配置sSMTP以将sendgrid中继为sendgrid?

默认的sSMTP配置是:

代码语言:javascript
复制
$ cat /etc/ssmtp/ssmtp.conf
root=postmaster
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=mail
#rewriteDomain=
hostname=spinoza 

使用Exim4,我们可以使用以下配置将SMTP配置为智能版(它正在工作):

代码语言:javascript
复制
root@me:/etc/exim4# grep -E 'sendgri|smart' update-exim4.conf.conf
dc_eximconfig_configtype='smarthost'
dc_smarthost='smtp.sendgrid.net::587'
root@me:/etc/exim4#
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-11-29 10:41:47

试试这个:

代码语言:javascript
复制
mailhub=smtp.sendgrid.com:587
UseSTARTTLS=YES
FromLineOverride=YES
AuthUser=login_sendgrid
AuthPass=password_sendgrid
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40834229

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档