2016-11-27 5 views
1

"clear problem statement"はスマートホストとしてsendgridを中継するようにsSMTPを設定する方法です。スマートホストを設定してsendgridを中継するようにsSMTPを設定する

デフォルトSSMTPの設定は、我々は次の構成(それが働いている)を使用して、スマートホストとしてSMTPを設定することができます:: exim4をして

$ cat /etc/ssmtp/ssmtp.conf 
root=postmaster 
# MX records are consulted. Commonly mailhosts are named mail.domain.com 
mailhub=mail 
#rewriteDomain= 
hostname=spinoza 

です::

[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# 

答えて

1

はこのお試しください:

mailhub=smtp.sendgrid.com:587 
UseSTARTTLS=YES 
FromLineOverride=YES 
AuthUser=login_sendgrid 
AuthPass=password_sendgrid 
関連する問題