Closed. This question does not meet Stack Overflow guidelines 。它目前不接受答案。
想改善这个问题吗?更新问题,使其成为 Stack Overflow 的 on-topic。
7年前关闭。
Improve this question
我在本地使用 inhmail.walkingtree.in 设置了 sendmail 服务器
当我尝试从其他电子邮件服务器发送 dmail 时,出现以下错误,
我在 192.168.1.145 安装了 sendmail 服务器。 .145的域名是inhmail.walkingtree.in
我也在系统和路由器的防火墙中打开了端口 25。
192.168.1.0/24 中的邮件接收和发送与@inhmail.walkingtree.in 一起工作正常。
请帮助
更新
工作:
是的,谢谢,现在可以使用了。
问题是我无法 ping walktree.in,由于本地 DNS 服务器设置。我删除了网络连接中的 dbs 服务器,现在我可以从 GMail 和 walktree.in 获取邮件
当我使用 dns 服务器时,我可以 ping www.walkingtree.in 但不能 ping 通 walktree.in。你能帮我ping一下walkingtree.in吗
如果出现“
-d8.20 打开对 DNS 查询的跟踪
checkmail - 等效于与 FEATURE(delay_checks) 一起使用的 check_mail
想改善这个问题吗?更新问题,使其成为 Stack Overflow 的 on-topic。
7年前关闭。
Improve this question
我在本地使用 inhmail.walkingtree.in 设置了 sendmail 服务器
当我尝试从其他电子邮件服务器发送 dmail 时,出现以下错误,
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
[email protected]
SMTP error from remote mail server after MAIL FROM:<[email protected]> SIZE=2548:
host inhmail.walkingtree.in [122.175.35.121]:
553 5.1.8 <[email protected]>... Domain of sender address [email protected] does not exist
------ This is a copy of the message, including all the headers. ------
我在 192.168.1.145 安装了 sendmail 服务器。 .145的域名是inhmail.walkingtree.in
我也在系统和路由器的防火墙中打开了端口 25。
192.168.1.0/24 中的邮件接收和发送与@inhmail.walkingtree.in 一起工作正常。
请帮助
how sendmail can receive mails from external email servers.
更新
> [srinivas@localhost ~]$ echo "check_mail [email protected]" | sendmail -d8.20 -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> check_mail input: jd @ walkingtree . in
Basic_check_mail input: jd @ walkingtree . in
tls_client input: $| MAIL
D input: < > < ? > < ! "TLS_Clt" > < >
D returns: < ? > < > < ? > < ! "TLS_Clt" > < >
A input: < > < ? > < ! "TLS_Clt" > < >
A returns: < > < ? > < ! "TLS_Clt" > < >
TLS_connection input: $| < > < ? > < ! "TLS_Clt" > < >
TLS_connection returns: OK
tls_client returns: OK
CanonAddr input: < jd @ walkingtree . in >
canonify input: < jd @ walkingtree . in >
Canonify2 input: jd < @ walkingtree . in >
dns_getcanonname(walkingtree.in, trymx=1)
dns_getcanonname: trying walkingtree.in. (AAAA)
NO: errno=0, h_errno=4
dns_getcanonname: trying walkingtree.in. (A)
NO: errno=0, h_errno=4
dns_getcanonname: trying walkingtree.in. (MX)
NO: errno=0, h_errno=4
dns_getcanonname: trying walkingtree.in.localdomain (AAAA)
NO: errno=0, h_errno=1
Canonify2 returns: jd < @ walkingtree . in >
canonify returns: jd < @ walkingtree . in >
Parse0 input: jd < @ walkingtree . in >
Parse0 returns: jd < @ walkingtree . in >
CanonAddr returns: jd < @ walkingtree . in >
SearchList input: < + From > $| < F : jd @ walkingtree . in > < U : jd @ > < D : walkingtree . in > < >
F input: < jd @ walkingtree . in > < ? > < + From > < >
F returns: < ? > < >
SearchList input: < + From > $| < U : jd @ > < D : walkingtree . in > < >
U input: < jd @ > < ? > < + From > < >
U returns: < ? > < >
SearchList input: < + From > $| < D : walkingtree . in > < >
D input: < walkingtree . in > < ? > < + From > < >
D input: < in > < ? > < + From > < >
D returns: < ? > < >
D returns: < ? > < >
SearchList returns: < ? >
SearchList returns: < ? >
SearchList returns: < ? >
Basic_check_mail returns: $# error $@ 5 . 1 . 8 $: "553 Domain of sender address " " does not exist"
check_mail returns: $# error $@ 5 . 1 . 8 $: "553 Domain of sender address " " does not exist"
> [srinivas@localhost ~]$
工作:
是的,谢谢,现在可以使用了。
问题是我无法 ping walktree.in,由于本地 DNS 服务器设置。我删除了网络连接中的 dbs 服务器,现在我可以从 GMail 和 walktree.in 获取邮件
当我使用 dns 服务器时,我可以 ping www.walkingtree.in 但不能 ping 通 walktree.in。你能帮我ping一下walkingtree.in吗
最佳答案
您 sendmail 认为信封发件人的域 walktree.in 不存在(没有 MX
、 A
、 AAAA
DNS 记录)。它拒绝接受带有此类信封发件人的邮件,因为将无法发回(最终)退回邮件(有关电子邮件传递问题的报告)。
您可以使用 nslookup
(或 dig
)来检查服务器是否看到 DNS 记录:nslookup -type=mx walkingtree.in
dig walkingtree.in MX
如果你使用 SENDMAIL (不是 postfix)然后作为 root 执行下面的命令来定位问题:
echo "check_mail [email protected]" | sendmail -d8.20 -bt
如果出现“
Undefined ruleset check_mail
”错误,请尝试:echo "checkmail [email protected]" | sendmail -d8.20 -bt
-d8.20 打开对 DNS 查询的跟踪
checkmail - 等效于与 FEATURE(delay_checks) 一起使用的 check_mail
10-08 14:35