LoginSignup
3
3

More than 5 years have passed since last update.

Alminiumでメール送信できるようにする

Last updated at Posted at 2014-10-31

設定ファイルのコピー

cd /opt/alminium/config/
cp -p configuration.yml{.example,}

設定ファイルの編集

/opt/alminium/config/configuration.yml
default:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: "192.168.11.2"
      port: 25
      authentication: :none
      openssl_verify_mode: 'none'

192.168.11.2側でmynetworks値を送信許可アドレス帯にしていること確認。

メールサーバ側の設定

/etc/postfix/main.cf
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.11.0/24

alminiumリスタート

service httpd restart
3
3
0

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
3
3