1

「明確な問題ステートメント」は How to configure sSMTP to Relay sendgrid as smarthost ですか?

デフォルトの 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#
4

1 に答える 1

1

これを試して:

mailhub=smtp.sendgrid.com:587
UseSTARTTLS=YES
FromLineOverride=YES
AuthUser=login_sendgrid
AuthPass=password_sendgrid
于 2016-11-29T10:41:47.397 に答える