繁体   English   中英

詹姆斯不向外部服务器发送电子邮件

[英]James not sending emails to foreign server

社区
我已经在机器上安装了James。 我配置好了。 我在4555端口上执行了telnet,并添加了多个用户。 然后我在25端口上进行了telnet,然后将邮件发送到了这样的外部电子邮件地址

ehlo leo@localhost
...
mail from: <leo@localhost>
250 2.1.0 Sender <leo@localhost> OK
rcpt to: <lroura@uci.cu>
250 2.1.5 Recipient <lroura@uci.cu> OK
data
354 Ok Send data ending with <CRLF>.<CRLF>
subject: otr prueba
jejejejje
.
250 2.6.0 Message received

在leo收件箱中出现这样的消息

Return-Path: <>
Delivered-To: leo@localhost
Date: Wed, 21 Oct 2015 14:04:29 -0500 (GMT-05:00)
From: postmaster@localhost
To: leo@localhost
Message-ID: <33108879.3.1445454269196.JavaMail.root@mypc>
In-Reply-To: <23978087.1.1445454269122.JavaMail.root@mypc>
Subject: Re:otr prueba
MIME-Version: 1.0
Content-Type: multipart/report;
    boundary="----=_Part_2_22845834.1445454269146";
    report-type=delivery-status

------=_Part_2_22845834.1445454269146
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi. This is the James mail server at mypc.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.  Below
I include the list of recipients and the reason why I was unable to deliver
your message.

Failed recipient(s):
lroura@uci.cu

Error message:
554 5.7.1 <unknown[10.31.105.115]>: Client host rejected: Access denied


------=_Part_2_22845834.1445454269146
Content-Type: message/delivery-status; name=status.dat
Content-Transfer-Encoding: 7bit
Content-Description: Delivery Status Notification
Content-Disposition: attachment; filename=status.dat

Reporting-MTA: dns; mypc
Received-From-MTA: dns; localhost

Final-Recipient: rfc822; lroura@uci.cu
Action: failed
Status: 5.7.1
Diagnostic-Code: smtp; 554 5.7.1 <unknown[10.31.105.115]>: Client host rejected: Access denied
Last-Attempt-Date: Wed, 21 Oct 2015 14:03:58 -0500 (GMT-05:00)

------=_Part_2_22845834.1445454269146
Content-Type: message/rfc822; name="otr prueba"
Content-Disposition: Attachment; filename="otr prueba"

Message-ID: <23978087.1.1445454269122.JavaMail.root@mypc>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Received: from localhost ([127.0.0.1])
          by mypc (JAMES SMTP Server 2.3.2) with SMTP ID 269
          for <lroura@uci.cu>;
          Wed, 21 Oct 2015 14:03:58 -0500 (GMT-05:00)
Date: Wed, 21 Oct 2015 14:03:58 -0500 (GMT-05:00)
From: leo@localhost
subject: otr prueba
jejejejje



------=_Part_2_22845834.1445454269146--

为了使用James向外部服务器发送电子邮件,我该怎么办?

@Leandro Roura Sixto:嗨。 基本上,当接收方将您的计算机标识为SPAM的源或中继主机时,将引发SMTP错误代码554。 这通常是由leo的域(即localhost)引起的。 添加一些有意义的主机,例如gmail或yahoo,您将能够通过收件人邮件服务器/ SMTP的垃圾邮件过滤器。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM