これの前では漠然とした質問をしてしまい、そんな中でもご親切にたくさんの方が回答等してくださりありがとうございました。
その後、メールの受信は出来るようになったのですが、送信だけがエラーとなってしまい、Thanderbirdとoutlook、iPhoneメールででも出来ません。
出てくるエラーが
5.7.1 Service unavailable; Client host [xxx.xxx.xxx.xxx] blocked using zen.spamhaus.org; https://www.spamhaus.org/query/ip/xxx.xxx.xxx.xxx ```(xxx.xxx.xxx.xxxはvpsのIPではなく自宅IPです) と出てきます。 SpamhanusでvpsのIPアドレスを入れたところ、こちらはブロックされておらず、自宅IPだけがはじかれている状態です。 該当のアドレス(https://www.spamhaus.org/query/ip/xxx.xxx.xxx.xxx)にアクセスしたところ以下の結果となりました。 ```ここに言語を入力 xxx.xxx.xxx.xxx is not listed in the SBL xxx.xxx.xxx.xxx is listed in the PBL, in the following records: PBL1551065 xxx.xxx.xxx.xxx is not listed in the XBL
PBL1551065のリンク先の説明は「メールクライアントにSMTP認証設定をきちんとしてください。」との内容。。。
このxxx.xxx.xxx.xxxアドレスで、同じメールクライアントからgmailでメール送信はできますので、vpsにつなぐ時に何か問題があるのかと考えています。
実際maillogでも同様の文字が出ていました。
考えられる障害はなんだと思いますか?
教えてください。
centos7.0
postfix-2.10.1-6.el7.x86_64
dovecot-2.2.10-7.el7.x86_64
Let's Encrypt のクライアントソフトをインストールして、SSL/TLS証明書の取得して利用しています。
環境が少し違いますが、↓を参考に構築しました。
SSLメールサーバ構築メモ Let's Encrypt+Postfix+Dovecot
どうぞよろしくお願いします。
postconf -nは↓です。
alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 disable_vrfy_command = yes home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = all local_recipient_maps = proxy:unix:passwd.byname $alias_maps mail_owner = postfix mailbox_size_limit = 204800000 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man message_size_limit = 5120000 mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = zero-6.net myhostname = mail.zero-6.net myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES relay_domains = $mydestination relayhost = sample_directory = /usr/share/doc/postfix-2.10.1/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_tls_security_level = may smtpd_banner = $myhostname ESMTP smtpd_client_restrictions = check_client_access hash:/etc/postfix/access reject_rbl_client zen.spamhaus.org reject_rbl_client all.rbl.jp reject_non_fqdn_sender reject_unknown_sender_domain smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_sender_restrictions = reject_rhsbl_sender zen.spamhaus.org reject_unknown_sender_domain smtpd_tls_cert_file = /etc/letsencrypt/live/mail.zero-6.net/fullchain.pem smtpd_tls_key_file = /etc/letsencrypt/live/mail.zero-6.net/privkey.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes unknown_local_recipient_reject_code = 550

回答4件
あなたの回答
tips
プレビュー