2012-03-20 55 views

回答

0

看起來就像是Postfix的認證,以Sendgrid內的SASL配置。我們能夠使用以下內容:

smtpd_sasl_local_domain = $myhostname 
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination 
mailbox_size_limit = 256000000 

# Sendgrid Settings 
smtp_sasl_auth_enable = yes 
smtp_sasl_password_maps = static:SENDGRID_ACCOUNT_EMAIL_HERE:PASSWORD_HERE 
smtp_sasl_security_options = noanonymous 
smtp_tls_security_level = may 
header_size_limit = 4096000 
relayhost = [smtp.sendgrid.net]:587