发送邮件不适用于 contact.htm

发送邮件不适用于 contact.htm

我有一个 Ubuntu 14 服务器并尝试让我的网站 contact.htm 将邮件发送到我的地址[电子邮件受保护]这是 mail.log :

Nov 18 17:22:34 ubuntu sendmail[7439]: tAIMMX5s007439: Authentication-Warning: ubuntu.localhost: www-data set sender to [email protected] using -f
Nov 18 17:22:34 ubuntu sendmail[7439]: tAIMMX5s007439: [email protected], size=495, class=0, nrcpts=1, msgid=<[email protected]>, relay=www-$
Nov 18 17:22:34 ubuntu sm-mta[7440]: tAIMMYL6007440: from=<[email protected]>, size=821, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMT$
Nov 18 17:22:34 ubuntu sendmail[7439]: tAIMMX5s007439: [email protected], [email protected] (33/33), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30495, $
Nov 18 17:22:35 ubuntu sm-mta[7442]: STARTTLS=client, relay=mx1.hotmail.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-SHA384, bits=256/256
Nov 18 17:22:35 ubuntu sm-mta[7442]: tAIMMYL6007440: to=<[email protected]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120821, relay=mx1.hotmail.com. [134.170.2.19$
Nov 18 17:22:35 ubuntu sm-mta[7442]: tAIMMYL6007440: tAIMMZL6007442: DSN: Service unavailable
Nov 18 17:22:36 ubuntu sm-mta[7442]: STARTTLS=client, relay=mx3.hotmail.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-SHA384, bits=256/256
Nov 18 17:22:36 ubuntu sm-mta[7442]: tAIMMZL6007442: to=<[email protected]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30000, relay=mx3.hotmail.com. [65.55.37.120]$
Nov 18 17:22:36 ubuntu sm-mta[7442]: tAIMMZL6007442: to=MAILER-DAEMON, delay=00:00:01, mailer=local, pri=30000, dsn=5.1.1, stat=User unknown
Nov 18 17:22:36 ubuntu sm-mta[7442]: tAIMMZL6007442: to=postmaster, delay=00:00:01, mailer=local, pri=30000, dsn=5.1.1, stat=User unknown
Nov 18 17:22:36 ubuntu sm-mta[7442]: tAIMMZL6007442: tAIMMZL7007442: return to sender: User unknown
Nov 18 17:22:36 ubuntu sm-mta[7442]: tAIMMZL7007442: to=MAILER-DAEMON, delay=00:00:00, mailer=local, pri=0, dsn=5.1.1, stat=User unknown
Nov 18 17:22:36 ubuntu sm-mta[7442]: tAIMMZL6007442: Saved message in /var/lib/sendmail/dead.letter

请让我知道什么不起作用

答案1

该日志似乎表明您未能通过 hotmail 进行身份验证。

它还表示您没有默认规则 MAILER-DAEMON 来向您发送错误,这是协议的要求;请创建它并将其重定向到您的电子邮件。由于这不是设置,错误被放置在 /var/lib/sendmail/dead.letter 中,并且该文件将随着时间的推移而增长。

相关内容