LoginSignup
0
0

More than 5 years have passed since last update.

awsのEC2でpostfixとdovecotの構築

Last updated at Posted at 2018-09-11

時間がかかった作業なので備忘する

基本は下記のサイトを参考して構築した

いくか留意点を記録する

1、centos7なのでソフトの起動及び自動起動につき、下記のコマンドで行う
systemctl restart postfixとか

2、SMTP-Authの設定について、saslauthd実装されていない場合があり、ネットで調べinstallする

3、awsにおいてまず、E メール制限緩和および逆引き申請が必要、ネットで調べ行う

4、下記のようにRoute 53で設定すること
q29.png

5、下記をインストールすること
sudo yum install cyrus-sasl-plain
そうしないとログには下記のエラーが出る
SASL authentication failure: Internal Error -4 in server.c near line 1757

dovecotについては、上記の参考サイトプラス下記の設定が必要

まずは「10-auth.conf」というファイルを編集する。

auth_mechanisms = plain login

次に「10-ssl.conf」というファイルを編集。

ssl=no

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