2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

exim4 でメール送信

Last updated at Posted at 2013-08-07

参考

サーバーからのメール通知を受け取りたいだけなので以下のみ設定。

設定

再設定
$ sudo dpkg-reconfigure exim4-config

もしくは以下変更

/etc/exim4/update-exim4.conf.conf
-dc_eximconfig_configtype='local'
+dc_eximconfig_configtype='internet'
smarthostの指定方法
-dc_smarthost=''
+dc_smarthost='11.22.33.44'
exim4再起動
$ sudo /etc/init.d/exim4 restart

動作確認

送信確認
$ date | sendmail -f 送信@者 宛@先
もしくは
$ date | mail 宛@先
ログ確認
$ tail -f /var/log/exim4/mainlog
mail_que削除
exim -Mrm 1ZQSYj-0002jL-M0
2
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?