AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 773851
Accepted
amaster
amaster
Asked: 2016-04-30 05:47:37 +0800 CST2016-04-30 05:47:37 +0800 CST 2016-04-30 05:47:37 +0800 CST

550 验证失败 发件人验证失败(回复 RCPT TO 命令)

  • 772

注意:电子邮件地址、域和 IP 地址已更改,以保护无辜者

当前错误:

Apr 28 23:47:32 vps01 postfix/smtp[8012]: 2A03D6285EF9: to=<[email protected]>, relay=mail.somedomain.com[162.144.93.233]:25, delay=42, delays=0.01/0.02/21/21, dsn=5.0.0, status=bounced (host mail.somedomain.com[162.144.93.233] said: 550-Verification failed for <[email protected]> 550-The mail server could not deliver mail to [email protected]. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command))

我正在尝试让电子邮件在运行 Ubuntu Server 和 Apache2 的 vps 上为具有多个域的客户端工作。服务器安装了 IspConfig 3,如果它对任何人有任何影响。

我能够接收和发送电子邮件到我迄今为止尝试过的大多数域,特别是一个域除外。其他人可能失败了,我不知道。

我收到一个错误550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1),但据我所知,我已经能够通过创建 rDNS 记录并将后缀中的主机名更改为我的 FQDN 来解决这个问题。这已经发展到我目前的错误。

我已按照https://www.howtoforge.com/hardening-postfix-for-ispconfig-3上的指南强化我的后缀以防止垃圾邮件。

我已经查看了Postfix Sender Verification 550并检查了我的 MX 记录,但在我看来一切设置正确。

dig mydomain.org MX

; <<>> DiG 9.9.5-9ubuntu0.5-Ubuntu <<>> mydomain.org MX
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18363
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;mydomain.org.             IN      MX

;; ANSWER SECTION:
mydomain.org.      1199    IN      MX      10 55.55.55.55. (ip address changed for security purposes)

;; Query time: 44 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Apr 28 23:54:59 CDT 2016
;; MSG SIZE  rcvd: 75

我一直在使用http://mxtoolbox.com/SuperTool.aspx?action=smtp%3amydomain.org&run=toolpage#来检查一路上的问题,但它让我知道的唯一见解似乎是更长的连接和交易时间,我认为这是由于配置后屏幕。

错误期间的完整 mail.log

Apr 29 00:24:44 vps01 postfix/smtpd[9021]: connect from localhost.localdomain[127.0.0.1]
Apr 29 00:24:44 vps01 postfix/smtpd[9021]: DA4326285EF9: client=localhost.localdomain[127.0.0.1]
Apr 29 00:24:44 vps01 postfix/cleanup[9013]: DA4326285EF9: message-id=<[email protected]>
Apr 29 00:24:44 vps01 postfix/smtpd[9021]: disconnect from localhost.localdomain[127.0.0.1]
Apr 29 00:24:44 vps01 postfix/qmgr[7860]: DA4326285EF9: from=<[email protected]>, size=1671, nrcpt=1 (queue active)
Apr 29 00:24:44 vps01 amavis[8496]: (08496-10) Passed CLEAN {RelayedOpenRelay}, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: aJjfGa_rtNVH, Hits: -0.101, size: 1145, queued_as: DA4326285EF9, dkim_sd=dkim:mydomain.org, 399 ms
Apr 29 00:24:44 vps01 postfix/smtp[9018]: 669CD6285BEA: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.5, delays=0.08/0.02/0/0.4, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as DA4326285EF9)
Apr 29 00:24:44 vps01 postfix/qmgr[7860]: 669CD6285BEA: removed
Apr 29 00:25:01 vps01 postfix/postscreen[9069]: CONNECT from [::1]:44502 to [::1]:25
Apr 29 00:25:01 vps01 postfix/postscreen[9069]: WHITELISTED [::1]:44502
Apr 29 00:25:01 vps01 postfix/smtpd[9071]: connect from localhost[::1]
Apr 29 00:25:01 vps01 postfix/smtpd[9071]: lost connection after CONNECT from localhost[::1]
Apr 29 00:25:01 vps01 postfix/smtpd[9071]: disconnect from localhost[::1]
Apr 29 00:25:27 vps01 postfix/smtp[9022]: DA4326285EF9: to=<[email protected]>, relay=mail.somedomain.com[162.144.93.233]:25, delay=43, delays=0.01/0.01/22/21, dsn=5.0.0, status=bounced (host mail.somedomain.com[162.144.93.233] said: 550-Verification failed for <[email protected]> 550-The mail server could not deliver mail to [email protected].  The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command))
Apr 29 00:25:27 vps01 postfix/cleanup[9013]: D2C3E6285EFA: message-id=<[email protected]>
Apr 29 00:25:27 vps01 postfix/qmgr[7860]: D2C3E6285EFA: from=<>, size=4219, nrcpt=1 (queue active)
Apr 29 00:25:27 vps01 postfix/bounce[9112]: DA4326285EF9: sender non-delivery notification: D2C3E6285EFA
Apr 29 00:25:27 vps01 postfix/qmgr[7860]: DA4326285EF9: removed
Apr 29 00:25:27 vps01 dovecot: lda([email protected]): sieve: msgid=<[email protected]>: stored mail into mailbox 'INBOX'
Apr 29 00:25:27 vps01 postfix/pipe[9113]: D2C3E6285EFA: to=<[email protected]>, relay=dovecot, delay=0.06, delays=0.01/0.02/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)
Apr 29 00:25:27 vps01 postfix/qmgr[7860]: D2C3E6285EFA: removed
Apr 29 00:25:28 vps01 postfix/anvil[8945]: statistics: max connection rate 1/60s for (smtpd:64.20.227.137) at Apr 29 00:22:05
Apr 29 00:25:28 vps01 postfix/anvil[8945]: statistics: max connection count 1 for (smtpd:64.20.227.137) at Apr 29 00:22:05
Apr 29 00:25:28 vps01 postfix/anvil[8945]: statistics: max message rate 1/60s for (smtpd:64.20.227.137) at Apr 29 00:22:07
Apr 29 00:25:28 vps01 postfix/anvil[8945]: statistics: max cache size 1 at Apr 29 00:22:05

看来我没有收到RCPT TO验证用户的命令。我在网上研究过,试图解决这个问题是浪费时间,应该告诉接收域关闭验证用户,但这不是一个可用的选项。

更新

好的,我已经进行了 DNS 更改,并且新的 mx 记录主机 @ 指向 mail.mydomain.org。我已经为邮件创建了一条记录以指向我的 IP 地址。我将等待 dns 传播并重试。

postfix email-bounces verification
  • 1 1 个回答
  • 11164 Views

1 个回答

  • Voted
  1. Best Answer
    ALex_hha
    2016-04-30T07:42:29+08:002016-04-30T07:42:29+08:00

    你有一个非常奇怪的设置

    telnet mail.abcgreenbrier.org 25
    Trying 63.142.252.80...
    Connected to mail.abcgreenbrier.org.
    Escape character is '^]'.
    220 mn-vps-01.cbcmcalester.com ESMTP Postfix (Ubuntu)
    helo localhost
    250 mn-vps-01.cbcmcalester.com
    mail from:<>
    250 2.1.0 Ok
    rcpt to:<[email protected]>
    450 4.2.0 <[email protected]>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/abcgreenbrier.org.html
    

    为什么要将自己的域列入灰名单?

    • 3

相关问题

  • Postfix 在特定端口上接受邮件

  • 让 Postfix 以两种方式处理垃圾邮件

  • Postfix 或 exim:自动/程序化和转发电子邮件设置

  • 后缀电子邮件地址

  • 什么是最好的开源电子邮件解决方案包

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve