Dockerコンテナを使ってFESSのセットアップを進める中でテストメールの送信だけうまく行っていません。
フォーラムの以下のスレッドを見て以下の設定を実施しました。
(参考にしたスレッド:How to set notification mail?)
設定変更をしたファイル:
/etc/fess/fess_config.properties
/etc/fess/fess_env_crawler.properties
/etc/fess/fess_env_suggest.properties
/etc/fess/fess_env_thumbnail.properties
/etc/fess/fess_env_web.properties
設定変更内容:
/etc/fess/fess_config.properties
# ----------------------------------------------------------
# Mail
# ------
# From
mail.from.name = Administrator
mail.from.address = root@localhost
mail.hostname={SMTP SERVER IP_ADDRESS} #ここを編集して実際にはIPアドレスを記載
/etc/fess/fess_env_crawler.properties
# ----------------------------------------------------------
# Mail
# ------
# Does it send mock mail? (true: no send actually, logging only)
mail.send.mock = true
# SMTP server settings for main: host:port
mail.smtp.server.main.host.and.port = {SMTP SERVER IP_ADDRESS}:25
# The prefix of subject to show test environment or not
mail.subject.test.prefix = [TEST_MAIL]
# The common return path of all mail
mail.return.path = root@localhost
質問
- 他に設定すべき箇所はないか
- 調査をしようと思うと、FESSのどのログを見ればよいか。
問題切り分けとしてSMTPサーバー側のログも見ようと思うのですが、FESSをコンテナで立ち上げたほうについても調査を行いたいとおもいますのでアドバイス頂戴できますと幸いです。
その他
- 14.12.0で確認後、14.13.0でも確認しましたがどちらも同じ状態です。
- IPアドレスではなくホスト名でも試しましたが結果は同じでした。
- ホスト側でホスト名を使ってPINGが通ることは確認できています。