CentOS + Postfix + Dovecot でメールサーバーを構築しているのですが
外部からメールを送信することが出来ません。
メールの受信は外部から受信出来ます。
暗号化は使用せず、CRAM-MD5 辺り使用できたらなと思っています。
送信が出来ない際のエラーがログに残らないため何が原因か分かりません。
外部からtelnet hoge.com 25としても接続できず、ローカルなら返ってきます。
設定ファイルを記述するので何か分かる方がいましたらご教授ください。
Bash
1/etc/postfix/main.cf 2 3myhostname = mai.hoge.com 4mydomain = hoge.com 5myorigin = $mydomain 6inet_interfaces = all 7inet_protocols = ipv4 8mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain 9mynetworks = 127.0.0.0/8 123.123.123.123 10relay_domains = $mydestination 11 12smtpd_sasl_auth_enable = yes 13smtpd_sasl_security_options = noanonymous 14smtpd_sasl_local_domain = $mydomain 15smtpd_recipient_restrictions = 16 permit_mynetworks 17 permit_sasl_authenticated 18 reject_unauth_destination
Bash
1/etc/postfix/master.cf 2 3smtp inet n - n - - smtpd
Bash
1/etc/sysconfig/saslauthd 2 3# Directory in which to place saslauthd's listening socket, pid file, and so 4# on. This directory must already exist. 5SOCKETDIR=/var/run/saslauthd 6 7# Mechanism to use when checking passwords. Run "saslauthd -v" to get a list 8# of which mechanism your installation was compiled with the ablity to use. 9# MECH=pam 10 11# Options sent to the saslauthd. If the MECH is other than "pam" uncomment the next line. 12# DAEMONOPTS=--user saslauth 13 14# Additional flags to pass to saslauthd on the command line. See saslauthd(8) 15# for the list of accepted flags. 16FLAGS=
Bash
1/etc/sasl2/smtpd.conf 2 3pwcheck_method: auxprop 4mech_list: cram-md5 digest-md5 plain login
以上、長くなりましたがよろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/09/19 23:49
2015/09/20 00:46
2015/09/20 01:47
2015/09/24 04:38