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 を使用しますが、設定ファイルを変更しようとすると、同じエラーが発生します。
私は何を間違っていますか?