【问题标题】:550-Verification failed with few email domains550 - 验证失败,电子邮件域很少
【发布时间】:2015-08-19 08:38:16
【问题描述】:

我已经为此工作了几个小时,但找不到解决方案。由于某种原因,我无法将电子邮件发送到某些域,我正在使用带有 sendmail 的默认 phpmail 功能。我想这是因为它们被转发到 gmail 帐户。我只是配置了 smtp,但我没有在网页服务器上收到电子邮件,我只是从网页服务器发送它们。

我在 php.ini 中的 sendmail 路径是: sendmail_path = sendmail -t -i -f'support@email.myweb.com'

support@email.myweb.com 是工作电子邮件,在另一台服务器机器上。

这是数据日志错误:

--t7J8AAkG002350.1439971810/myweb.com--

From MAILER-DAEMON  Wed Aug 19 08:10:44 2015
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
    by myweb.com (8.14.4/8.14.4/Debian-4) id t7J8AiZE002360;
    Wed, 19 Aug 2015 08:10:44 GMT
Date: Wed, 19 Aug 2015 08:10:44 GMT
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <201508190810.t7J8AiZE002360@myweb.com>
To: <www-data@myweb.com>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
    boundary="t7J8AiZE002360.1439971844/myweb.com"
Content-Transfer-Encoding: 8bit
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--t7J8AiZE002360.1439971844/myweb.com

The original message was received at Wed, 19 Aug 2015 08:10:42 GMT
from localhost.localdomain [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
<emailwitherrors@forwardeddomain.com>
    (reason: 550-Verification failed for <www-data@myweb.com>)

   ----- Transcript of session follows -----
... while talking to forwardeddomain.com.:
>>> DATA
<<< 550-Verification failed for <www-data@myweb.com>
<<< 550-No Such User Here"
<<< 550 Sender verify failed
550 5.1.1 <emailwitherrors@forwardeddomain.com>... User unknown
<<< 503-All RCPT commands were rejected with this error:
<<< 503-Sender verify failed
<<< 503 Valid RCPT command must precede DATA

--t7J8AiZE002360.1439971844/myweb.com
Content-Type: message/delivery-status

Reporting-MTA: dns; myweb.com
Received-From-MTA: DNS; localhost.localdomain
Arrival-Date: Wed, 19 Aug 2015 08:10:42 GMT

Final-Recipient: RFC822; emailwitherrors@forwardeddomain.com
Action: failed
Status: 5.1.1
Remote-MTA: DNS; forwardeddomain.com
Diagnostic-Code: SMTP; 550-Verification failed for <www-data@myweb.com>
Last-Attempt-Date: Wed, 19 Aug 2015 08:10:44 GMT

--t7J8AiZE002360.1439971844/myweb.com
Content-Type: text/rfc822-headers
Content-Transfer-Encoding: 8bit

Return-Path: <www-data@myweb.com>
Received: from myweb.com (localhost.localdomain [127.0.0.1])
    by myweb.com (8.14.4/8.14.4/Debian-4) with ESMTP id t7J8AgZE002358
    for <emailwitherrors@forwardeddomain.com>; Wed, 19 Aug 2015 08:10:42 GMT
Received: (from www-data@localhost)
    by myweb.com (8.14.4/8.14.4/Submit) id t7J8AgsO002357;
    Wed, 19 Aug 2015 08:10:42 GMT
Date: Wed, 19 Aug 2015 08:10:42 GMT
Message-Id: <201508190810.t7J8AgsO002357@myweb.com>
To: emailwitherrors@forwardeddomain.com
Subject: ¡Welcome to my webpage!
X-PHP-Originating-Script: 0:whatever.php
From: myweb no-reply <no-reply@myweb.com>
MIME-Version: 1.0
Content-type: text/plain; charset=UTF-8

--t7J8AiZE002360.1439971844/myweb.com--

【问题讨论】:

    标签: php email dns sendmail


    【解决方案1】:

    由于发件人验证,您遇到此问题。您正在通过 php mail 发送邮件,并且由于该服务器正在从 www-data@myweb.com 帐户发送该邮件,并且该邮件帐户未在您的服务器上创建,并且由于该收件人邮件服务器拒绝该邮件。

    【讨论】:

    • 那如何改变呢?我在 phpmail 中的发件人电子邮件是 no-reply@myweb.com
    猜你喜欢
    • 1970-01-01
    • 2021-12-28
    • 2015-06-15
    • 1970-01-01
    • 2012-04-17
    • 2015-11-09
    • 2014-04-14
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多