2017-02-08 11 views
0

私は現在、学生協会でwabmasterです。しかしそれ以降はそれはもう働きません。 smtpログに実際のエラーコードが見つかりません。ホストはこのサービスをブロックしないと言います。Joomla smtpがホストに接続できません

 
[06-Feb-2017 14:34:27 Europe/Amsterdam] Connection: opening to smtp.googlemail.com:587, timeout=300, options=array (
) 
[06-Feb-2017 14:34:27 Europe/Amsterdam] Connection: opened 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "220-sh3.hosty.nl ESMTP Exim 4.87 #1 Mon, 06 Feb 2017 14:34:27 +0100 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "220-sh3.hosty.nl ESMTP Exim 4.87 #1 Mon, 06 Feb 2017 14:34:27 +0100 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "220-sh3.hosty.nl ESMTP Exim 4.87 #1 Mon, 06 Feb 2017 14:34:27 +0100 
220-We do not authorize the use of this system to transport unsolicited, 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "220 and/or bulk e-mail. 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SERVER -> CLIENT: 220-sh3.hosty.nl ESMTP Exim 4.87 #1 Mon, 06 Feb 2017 14:34:27 +0100 
220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail. 

[06-Feb-2017 14:34:27 Europe/Amsterdam] CLIENT -> SERVER: EHLO example.com 

[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-SIZE 52428800 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-8BITMIME 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
250-8BITMIME 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-PIPELINING 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
250-8BITMIME 
250-PIPELINING 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
250-8BITMIME 
250-PIPELINING 
250-AUTH PLAIN LOGIN 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-STARTTLS 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
250-8BITMIME 
250-PIPELINING 
250-AUTH PLAIN LOGIN 
250-STARTTLS 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250 HELP 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SERVER -> CLIENT: 250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
250-8BITMIME 
250-PIPELINING 
250-AUTH PLAIN LOGIN 
250-STARTTLS 
250 HELP 

[06-Feb-2017 14:34:27 Europe/Amsterdam] CLIENT -> SERVER: STARTTLS 

[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "220 TLS go ahead 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SERVER -> CLIENT: 220 TLS go ahead 

[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP Error: Could not connect to SMTP host. 
[06-Feb-2017 14:34:27 Europe/Amsterdam] CLIENT -> SERVER: QUIT 

[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "221 sh3.hosty.nl closing connection 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SERVER -> CLIENT: 221 sh3.hosty.nl closing connection 

[06-Feb-2017 14:34:27 Europe/Amsterdam] Connection: closed 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP Error: Could not connect to SMTP host. 
[06-Feb-2017 14:34:27 Europe/Amsterdam] Connection: opening to smtp.googlemail.com:587, timeout=300, options=array (
) 
[06-Feb-2017 14:34:27 Europe/Amsterdam] Connection: opened 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "220-sh3.hosty.nl ESMTP Exim 4.87 #1 Mon, 06 Feb 2017 14:34:27 +0100 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "220-sh3.hosty.nl ESMTP Exim 4.87 #1 Mon, 06 Feb 2017 14:34:27 +0100 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "220-sh3.hosty.nl ESMTP Exim 4.87 #1 Mon, 06 Feb 2017 14:34:27 +0100 
220-We do not authorize the use of this system to transport unsolicited, 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "220 and/or bulk e-mail. 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SERVER -> CLIENT: 220-sh3.hosty.nl ESMTP Exim 4.87 #1 Mon, 06 Feb 2017 14:34:27 +0100 
220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail. 

[06-Feb-2017 14:34:27 Europe/Amsterdam] CLIENT -> SERVER: EHLO example.com 

[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-SIZE 52428800 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-8BITMIME 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
250-8BITMIME 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-PIPELINING 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
250-8BITMIME 
250-PIPELINING 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
250-8BITMIME 
250-PIPELINING 
250-AUTH PLAIN LOGIN 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250-STARTTLS 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
250-8BITMIME 
250-PIPELINING 
250-AUTH PLAIN LOGIN 
250-STARTTLS 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "250 HELP 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SERVER -> CLIENT: 250-sh3.hosty.nl Hello sh3.hosty.nl [185.69.233.117] 
250-SIZE 52428800 
250-8BITMIME 
250-PIPELINING 
250-AUTH PLAIN LOGIN 
250-STARTTLS 
250 HELP 

[06-Feb-2017 14:34:27 Europe/Amsterdam] CLIENT -> SERVER: STARTTLS 

[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "220 TLS go ahead 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SERVER -> CLIENT: 220 TLS go ahead 

[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP Error: Could not connect to SMTP host. 
[06-Feb-2017 14:34:27 Europe/Amsterdam] CLIENT -> SERVER: QUIT 

[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $data is "" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP -> get_lines(): $str is "221 sh3.hosty.nl closing connection 
" 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SERVER -> CLIENT: 221 sh3.hosty.nl closing connection 

[06-Feb-2017 14:34:27 Europe/Amsterdam] Connection: closed 
[06-Feb-2017 14:34:27 Europe/Amsterdam] SMTP Error: Could not connect to SMTP host. 

phpmailingであるため動作しないSMTPメールを無効にするソリューション我々は唯一の毎時1通のメールを送信することができます これはログです。

+0

ドキュメントを読むと本当に役に立ちます。 'SMTPDebug = 4'はこの問題に対して不必要に騒々しいです(あなたは接続の問題がないです)。あなたにはTLSの問題があります。これは[トラブルシューティングガイド](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)で詳しく説明しています。エラー出力にリンクが含まれていないということは、おそらく脆弱な古いバージョンのPHPMailerを使用していることを示しているので、最新版を入手してください(https://github.com/PHPMailer/PHPMailer) 。 – Synchro

+0

@シンクロ私はバックアップをダウンロードし、自分のlocalhost上で動作します – miquel09

+0

ローカルのTLS設定が壊れていないので、正しくありません。あなたのサーバとPHPMailerでTLSを修正することができます。 – Synchro

答えて

0

smtp.googlemail.comに接続するようにリクエストしていますが、接続先はsh3.hosty.nlです。これはあなたのISPがあなたのトラフィックを傍受してあなたを自分のメールサーバーにリダイレクトしていることを意味します。もちろん、あなたが接続を求めた名前と一致せず、TLSの失敗を引き起こします。

This exact scenarioは、トラブルシューティングガイドに記載されています。電子メールの送信方法をISPに尋ねる必要があります。彼らは自分のメールサーバを介してゲートウェイサービスを提供するかもしれない。

+0

ホストはそれをブロックしていますか? – miquel09

+0

彼らはそれをブロックしておらず、自分のメールサーバーにリダイレクトしているため、証明書のホスト名チェックが失敗し、TLSの失敗に終わります。 – Synchro

関連する問題