Postfix†[edit]

CentOS†[edit]

Install†[edit]

Setting†[edit]

main[edit]

/etc/postfix/main.cf†[edit]

Submission port (587) with STARTTLS†[edit]

sasl†[edit]
証明書†[edit]
/etc/postfix/main.cf†[edit]
smtpd_tls_key_file  = /etc/postfix/tls/private.key
smtpd_tls_cert_file = /etc/postfix/tls/server.crt

# 
#
# SASL
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous 
#smtpd_sasl_local_domain = $mydomain
smtpd_recipient_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    reject_unauth_destination
/etc/postfix/master.cf†[edit]
submission inet n       -       n       -       -       smtpd
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
firewalld†[edit]

SMTPS port (465) with SSL/TLS†[edit]

sasl, TLS 関連は submission ポートに同じ†[edit]
/etc/postfix/master.cf†[edit]
smtps     inet  n       -       n       -       -       smtpd
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
firewalld†[edit]

SPF[edit]


トップ   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS