Hello,

I have a very strange issue with james3-beta5.

When james is trying to deliver an email to a particular host the EHLO
command is sent in two TCP fragments. In particular "E" is sent in one
fragmant and the "HLO..." is sent in another. The other host then
replies with a "500 unrecognized command"

If I try to connect to the same host with telnet and type the EHLO by
hand, then the command arrives in 1 TCP packet and the host replies with
a "250-...."

Any ideas what could be wrong?

I guess the other host should be able to understand the EHLO command
from james. It should read everything until a newline and then process
the command. But it seems that it only tries to process the "E" and of
course does not recognize it as a command.

But still...what could be causing james to send his commands in
fragments? The thing is that james after the EHLO command tries to send
a HELO as well...and gets the same answer for the same reason...then
sends a QUIT and gets yet again the same answer for the same reason again.

The following is the output from Wireshark. Marked as GOOD is the
streams between telnet and the remote host and marked as BAD are the
streams between james and the remte host.

BAD
    00000000  32 32 30 2d 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a 220-****
********
    00000010  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000020  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000030  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000040  2a 2a 2a 2a 2a 2a 2a 2a  2a 0d 0a 32 32 30 2d 2a ********
*..220-*
    00000050  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000060  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000070  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000080  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000090  2a 2a 2a 2a 0d 0a 32 32  30 20 2a 2a 2a 2a 2a 2a ****..22
0 ******
    000000A0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 0d 0a    ********
*****..
00000000  45                                               E
00000001  48 4c 4f 20 XX XX XX XX  XX XX XX XX 0d 0a       HLO xxxx xxxx..
    000000AF  35 30 30 20 75 6e 72 65  63 6f 67 6e 69 7a 65 64 500 unre
cognized
    000000BF  20 63 6f 6d 6d 61 6e 64  0d 0a                    command ..

GOOD
    00000000  32 32 30 2d 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a 220-****
********
    00000010  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000020  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000030  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000040  2a 2a 2a 2a 2a 2a 2a 2a  2a 0d 0a 32 32 30 2d 2a ********
*..220-*
    00000050  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000060  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000070  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000080  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a ********
********
    00000090  2a 2a 2a 2a 0d 0a 32 32  30 20 2a 2a 2a 2a 2a 2a ****..22
0 ******
    000000A0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 0d 0a    ********
*****..
00000000  45 48 4c 4f 20 XX XX XX  XX XX XX XX XX 0d 0a    EHLO xxx xxxxx..
    000000AF  32 35 30 2d XX XX XX XX  XX XX XX XX XX XX XX XX 250-xxxx
xxxxxxxx


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

Reply via email to