
私はこの分野にはまったく不慣れなので、どうかご容赦ください。フォーラム ソフトウェアを設定して、Postfix 経由でメールを送信しようとしていますが、サーバーのポート 25 がブロックされているようです。以下を実行してみました:
作品:
ping alt2.gmail-smtp-in.l.google.com
動作しません:
telnet alt2.gmail-smtp-in.l.google.com 25
telnet 66.249.93.114 25
iptables をフラッシュしてからこれらのルールを使用しようとしましたが、どちらも機能しませんでした:
sudo iptables --flush
sudo iptables -P INPUT ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -F
sudo iptables -X
25 ポートでローカルホスト URL に telnet を実行すると機能しますが、ローカル以外の URL に telnet を実行すると何も機能しません。
メール.log:
Oct 17 01:20:24 webhost postfix/smtp[3642]: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:400e:c03::1a]:25: Connection timed out
Oct 17 01:20:24 webhost postfix/smtp[3643]: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:400e:c03::1a]:25: Connection timed out
Oct 17 01:20:24 webhost postfix/smtp[3642]: 4744380032: to=<[email protected]>, relay=none, delay=2892, delays=2741/0.03/150/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2607:f$
答え1
ISPまたはホスティングプロバイダーがボットネットスパムを防ぐためにポート25への送信接続をフィルタリングしている可能性があります。
traceroute -n alt2.gmail-smtp-in.l.google.com
および/または
tcptraceroute -n alt2.gmail-smtp-in.l.google.com 25
どのホップが接続をブロックしているかを確認します。
答え2
Gmail では、TLS/STARTTLS またはSSL のsmtp.gmail.com
ポートに接続することをお勧めします。587
465
http://support.google.com/mail/bin/answer.py?hl=ja&answer=13287