[ 
https://issues.apache.org/jira/browse/JAMES-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoit Tellier closed JAMES-1547.
---------------------------------
    Fix Version/s:     (was: 3.0.0)
       Resolution: Cannot Reproduce


{code:java}
$ docker run -d -v $PWD/src/test/resources/keystore:/root/conf/keystore 
apache/james:memory-latest

$ docker exec -ti 880f224968ec james-cli adduser bob@localhost 123456

$ telnet 172.17.0.2 25
Trying 172.17.0.2...
Connected to 172.17.0.2.
Escape character is '^]'.
220 Apache JAMES awesome SMTP Server
ehlo other.com
250-880f224968ec Hello other.com [172.17.0.1])
250-PIPELINING
250-ENHANCEDSTATUSCODES
250 8BITMIME
mail from: <al...@other.com>
250 2.1.0 Sender <al...@other.com> OK
rcpt to: <bob@localhost>
250 2.1.5 Recipient <bob@localhost> OK
data
354 Ok Send data ending with <CRLF>.<CRLF>
.
250 2.6.0 Message received
rset
250 2.0.0 OK
mail from: <al...@other.com>
250 2.1.0 Sender <al...@other.com> OK
rcpt to: <bob@localhost>
250 2.1.5 Recipient <bob@localhost> OK
data
354 Ok Send data ending with <CRLF>.<CRLF>
Subject: Gabouzomeuh

envwribilwrbtrwb
.
250 2.6.0 Message received
quit
221 2.0.0 880f224968ec Service closing transmission channel
Connection closed by foreign host.

$ telnet 172.17.0.2 110
Trying 172.17.0.2...
Connected to 172.17.0.2.
Escape character is '^]'.
+OK <-718116621.1631173343767@880f224968ec> POP3 server (JAMES POP3 Server ) 
ready 
user bob@localhost
+OK
pass 123456
+OK Welcome bob@localhost
uidl
+OK unique-id listing follows
1 1
2 2
.
retr 1
+OK Message follows
Return-Path: <al...@other.com>
Delivered-To: bob@localhost
Received: from 172.17.0.1 (EHLO other.com) ([172.17.0.1])
          by 880f224968ec (JAMES SMTP Server ) with ESMTP ID 1087608711
          for <bob@localhost>;
          Thu, 09 Sep 2021 07:42:00 +0000 (UTC)

.
retr 2
+OK Message follows
Return-Path: <al...@other.com>
Delivered-To: bob@localhost
Received: from 172.17.0.1 (EHLO other.com) ([172.17.0.1])
          by 880f224968ec (JAMES SMTP Server ) with ESMTP ID 1087608711
          for <bob@localhost>;
          Thu, 09 Sep 2021 07:42:15 +0000 (UTC)
Subject: Gabouzomeuh

envwribilwrbtrwb
.

{code}

Both emails have their Received headers

> empty mails do not get a received header attached when using smtpserver
> -----------------------------------------------------------------------
>
>                 Key: JAMES-1547
>                 URL: https://issues.apache.org/jira/browse/JAMES-1547
>             Project: James Server
>          Issue Type: Bug
>          Components: SpoolManager &amp; Processors
>    Affects Versions: Trunk
>            Reporter: Mark
>            Assignee: Eric Charles
>            Priority: Minor
>         Attachments: empty-rcvd-header.patch, protocols.svnrev1509305.patch
>
>
> Not sure about the component.
> I'm attaching a james server trunk patch that contains the test unit (remove 
> the @Ignore annotation from it).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to