0

Debian Lenny で PHP メールをセットアップしようとしています。

私はこのチュートリアルに従いました: http://www.thewireframecommunity.com/node/39で ssmtp をインストールしましたaptitude install ssmtp

私のメール プロバイダーは最高なので、MX レコードは次のとおりです。ここに画像の説明を入力

そして、これは私の ssmtp.conf ファイルです:

# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=contact@example.com

# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=smpt.europe.secureserver.net

# Where will the mail seem to come from?
rewriteDomain=example.com

# The full hostname
hostname=smtp.europe.secureserver.net

# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=NO


AuthUser=contact@example.com
AuthPass=PASSWORD
UseSTARTTLS=yes
UseTLS=yes

example.com は私のドメイン名です。次のエラーが表示されます。

# ssmtp: Cannot open smtp.europe.secureserver.net:25

メール クライアントを使用する場合、smtp の代わりに常に smtpout.europe.secureserver.net を使用しますが、設定ファイルを変更しようとすると、同じエラーが発生します。

私は何を間違っていますか?

4

2 に答える 2

1

このフォーラムに間違って入力しただけかどうかはわかりませんが、メールハブは smpt.europe.secureserver.net ではなく、smtp.europe.secureserver.net にする必要があります。

于 2012-08-12T00:15:13.953 に答える
0

ISP がポート 25 へのアウトバウンド接続をブロックしている可能性があります。通常、ポート 587 は代替ポートです。

于 2012-04-27T13:08:25.280 に答える