首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >詹姆斯不向国外服务器发送电子邮件

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

Stack Overflow用户
提问于 2015-10-29 02:36:39
回答 1查看 603关注 0票数 0

社区

我已经把詹姆斯安装在我的机器上了。我配置了它。我在4555端口上做了一个telnet,并增加了几个用户。然后我在25个端口上做了一个telnet,然后发送了一封邮件到这样的外部电子邮件地址。

代码语言:javascript
复制
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收件箱中会出现这样一条消息

代码语言:javascript
复制
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向外部服务器发送电子邮件呢?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-12-17 09:43:20

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

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33405017

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档