“清楚的问题陈述”是如何配置sSMTP以将sendgrid中继为sendgrid?
默认的sSMTP配置是:
$ 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配置为智能版(它正在工作):
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#发布于 2016-11-29 10:41:47
试试这个:
mailhub=smtp.sendgrid.com:587
UseSTARTTLS=YES
FromLineOverride=YES
AuthUser=login_sendgrid
AuthPass=password_sendgridhttps://stackoverflow.com/questions/40834229
复制相似问题