差分
このページの2つのバージョン間の差分を表示します。
— |
memo:freebsd_11_install_exim [2018-11-14 20:46] (現在) Decomo 作成 |
||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== FreeBSD 11でEximを使う ====== | ||
+ | ===== 試した環境 ===== | ||
+ | |||
+ | * FreeBSD 11.2-RELEASE-p4 | ||
+ | * Exim 4.91 | ||
+ | |||
+ | ===== インストール ===== | ||
+ | |||
+ | いつもの通りportsから入れる。インストールオプションは追加でDOCS, | ||
+ | < | ||
+ | # portmaster mail/exim | ||
+ | </ | ||
+ | |||
+ | ===== 設定 ===== | ||
+ | |||
+ | インストール終了後に出る↓メッセージに従い、システムの設定を行う。 | ||
+ | < | ||
+ | To use Exim instead of sendmail on startup: | ||
+ | |||
+ | *) Clear the sendmail queue and stop the sendmail daemon. | ||
+ | *) Adjust mailer.conf(5) as appropriate. | ||
+ | *) Set the ' | ||
+ | *) Set the ' | ||
+ | ' | ||
+ | | ||
+ | *) Consider setting ' | ||
+ | ' | ||
+ | if you intend to manage queue runners / deliveries closely. | ||
+ | *) Set the ' | ||
+ | *) Start exim with '/ | ||
+ | |||
+ | You may also want to configure newsyslog(8) to rotate Exim log files: | ||
+ | |||
+ | / | ||
+ | / | ||
+ | |||
+ | Additional scripts to help upgrading are installed in: | ||
+ | |||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== mailer.confの設定 ==== | ||
+ | |||
+ | FreeBSDはmailwrapper(8)というMTAを切り替える仕組みを持っている。その設定は''/ | ||
+ | |||
+ | <file conf / | ||
+ | sendmail | ||
+ | mailq / | ||
+ | newaliases | ||
+ | rmail / | ||
+ | </ | ||
+ | |||
+ | / | ||
+ | aily_status_include_submit_mailq=" | ||
+ | daily_clean_hoststat_enable=" | ||
+ | |||
+ | daily_queuerun_enable=" | ||
+ | daily_submit_queuerun=" | ||
+ | |||
+ | / | ||
+ | / | ||
+ | / |