「Amazon SES」:修訂間差異
跳至導覽
跳至搜尋
第2行: | 第2行: | ||
== 讓Postfix使用SES == | == 讓Postfix使用SES == | ||
參考官方文件提供的<code>/etc/postfix/main.cf</code>設定<ref>{{Cite web |url=https://docs.aws.amazon.com/ses/latest/DeveloperGuide/postfix.html | title=Integrating Amazon SES with Postfix |accessdate=2018-12-16}}</ref>: | 參考官方文件提供的<code>/etc/postfix/main.cf</code>設定<ref>{{Cite web |url=https://docs.aws.amazon.com/ses/latest/DeveloperGuide/postfix.html | title=Integrating Amazon SES with Postfix |accessdate=2018-12-16}}</ref>: | ||
<syntaxhighlight lang="ini"> | <syntaxhighlight lang="ini"> | ||
relayhost = [email-smtp.us-east-1.amazonaws.com]:587 | |||
smtp_sasl_auth_enable = yes | smtp_sasl_auth_enable = yes | ||
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd | smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd | ||
第13行: | 第16行: | ||
以及<code>/etc/postfix/sasl_passwd</code>: | 以及<code>/etc/postfix/sasl_passwd</code>: | ||
<syntaxhighlight lang="ini"> | <syntaxhighlight lang="ini"> | ||
[email-smtp.us-east-1.amazonaws.com]:587 AKxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | [email-smtp.us-east-1.amazonaws.com]:587 AKxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
於 2018年12月26日 (三) 06:02 的修訂
Amazon SES是AWS的郵件服務。
讓Postfix使用SES
參考官方文件提供的/etc/postfix/main.cf
設定[1]:
relayhost = [email-smtp.us-east-1.amazonaws.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = encrypt
smtp_use_tls = yes
以及/etc/postfix/sasl_passwd
:
[email-smtp.us-east-1.amazonaws.com]:587 AKxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
參考文獻
- ↑ Integrating Amazon SES with Postfix. [2018-12-16].