- sendmail-cfの追加
yum -y install sendmail-cf
- sendmail.mc の変更
- その1
- その2
- SMART_HOSTの設定をdnlでコメントアウト
dnl define(`SMART_HOST', `smtp.tanuzou.com')dnl
- SMART_HOSTの設定を使用するSMTPに変更する
dnl define(`SMART_HOST', `smtp.tanuzou.com')dnl
- mailertableの変更
#ドメイン名 smtp:リレーSMTPサーバで設定
tanuzou.com smtp:smtp.tanuzou.com
- mailertable.db 更新
makemap hash mailertable.db < mailertable
- sendmail.cf更新
m4 sendmail.mc > sendmail.cf
- sendmail再起動
sudo /etc/init.d/sendmail restart
|