1
「清楚的問題陳述」是如何配置sSMTP將sendgrid作爲smarthost來中繼?Smarthost配置配置sSMTP來中繼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,我們可以使用下面的配置(它的工作)::
[email protected]:/etc/exim4# grep -E 'sendgri|smart' update-exim4.conf.conf
dc_eximconfig_configtype='smarthost'
dc_smarthost='smtp.sendgrid.net::587'
[email protected]:/etc/exim4#