postfixとdovecotを使ってメールサーバーを構築しています。
mail aa@aa.comで外部へメールが届くのですが、返信すると受け取ることだできません。
以下のHPなどを参考に構築してみたのですが、maillogを見ると、SALSがうまく動いていないように見えます。
https://qiita.com/mizuki_takahashi/items/1b33e1f679359827c17d
証明書は、以下のページを参考に/etc/ssl/example-ca/cacert.pemを作成しました。
https://knkomko.hatenablog.com/entry/2021/05/03/020038
apt-getでsasl2-binもインストールしました。
どなたか、詳しい方アドバイスをお願いします。
maillog
1Feb 20 08:16:39 aaa postfix/postfix-script[510792]: stopping the Postfix mail system 2Feb 20 08:16:39 aaa postfix/master[133564]: terminating on signal 15 3Feb 20 08:16:40 aaa postfix/postfix-script[510931]: warning: symlink leaves directory: /etc/postfix/./makedefs.out 4Feb 20 08:16:40 aaa postfix/postfix-script[510969]: starting the Postfix mail system 5Feb 20 08:16:40 aaa postfix/master[510971]: daemon started -- version 3.4.13, configuration /etc/postfix 6Feb 20 08:16:47 aaa postfix/smtpd[510977]: warning: No server certs available. TLS won't be enabled 7Feb 20 08:16:47 aaae postfix/smtpd[510977]: connect from mail-os0jpn01olkn2072.outbound.protection.outlook.com[40.92.98.72] 8Feb 20 08:16:47 aaa postfix/smtpd[510977]: warning: SASL: Connect to private/auth failed: No such file or directory 9Feb 20 08:16:47 aaa postfix/smtpd[510977]: fatal: no SASL authentication mechanisms 10Feb 20 08:16:47 aaa postfix/smtpd[510981]: warning: No server certs available. TLS won't be enabled 11Feb 20 08:16:48 aaa postfix/smtpd[510981]: connect from mail-tycjpn01olkn2032.outbound.protection.outlook.com[40.92.99.32] 12Feb 20 08:16:48 aaa postfix/smtpd[510981]: warning: SASL: Connect to private/auth failed: No such file or directory 13Feb 20 08:16:48 aaa postfix/smtpd[510981]: fatal: no SASL authentication mechanisms 14Feb 20 08:16:48 aaa postfix/master[510971]: warning: process /usr/lib/postfix/sbin/smtpd pid 510977 exit status 1 15Feb 20 08:16:48 aaa postfix/master[510971]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling 16Feb 20 08:16:49 aaa postfix/master[510971]: warning: process /usr/lib/postfix/sbin/smtpd pid 510981 exit status 1
postfix設定
1# 以下SMTP-Auth用 2smtpd_tls_security_level = may 3smtpd_tls_loglevel = 1 4smtpd_tls_cerf_file = /etc/ssl/example-ca/cacert.pem 5smtpd_tls_key_file = /etc/ssl/example-ca/cacert.pem 6smtpd_sasl_type = dovecot 7smtpd_sasl_path = private/auth 8smtpd_sasl_auth_enable = yes 9smtpd_sasl_security_options = noanonymous 10smtpd_sasl_local_domain = $myhostname 11smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,permit_sasl_authenticated,reject

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2022/02/20 11:29