Джеймс не отправляет электронные письма на внешний сервер

сообщество
Я уже установил Джеймса на свою машину. Я настроил его. Я сделал телнет на порту 4555 и добавил несколько пользователей. Затем я подключился через телнет к 25-му порту и отправил письмо на внешний адрес электронной почты, подобный этому

ehlo leo@localhost
...
mail from: <leo@localhost>
250 2.1.0 Sender <leo@localhost> OK
rcpt to: <[email protected]>
250 2.1.5 Recipient <[email protected]> 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):
[email protected]

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; [email protected]
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 <[email protected]>;
          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?


person Leandro Roura Sixto    schedule 29.10.2015    source источник


Ответы (1)


@Leandro Roura Sixto: Привет. В основном код ошибки SMTP 554 выдается, когда получатель идентифицирует вашу машину как источник спама или хост-ретранслятор. Обычно это вызвано доменом leo, то есть localhost. Добавьте какой-нибудь значимый хост, такой как gmail или yahoo, вы сможете пройти через спам-фильтр почтового сервера / SMTP получателя.

person Mahadev Aarathri    schedule 17.12.2015