[[sendmail]]

*設定 [#a7305e38]
 # cd /etc/mail
 # cp -p sendmail.mc sendmail.mc.`date +%Y%m%d`
 - FEATURE(`accept_unresolvable_domains')dnl
 + dnl # FEATURE(`accept_unresolvable_domains')dnl
 # m4 sendmail.mc > sendmail.cf
 # service sendmail restart
 
上記設定を実施すると、メールを送信した際に存在しないドメイン宛のメールについては、下記のようにエラーとなる。
 Jul  3 11:10:21 ip-172-28-1-95 sendmail[18069]: t632ALBn018067: t632ALBn018069: DSN: Host unknown (Name server: hogehogehogehoge.com: host not found)

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS