Consultor Eletrônico



Kbase P129286: Transport Failure errors with SMTP when sending line feed (~n) characters to Linux qmail server
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   27/02/2008
Status: Unverified

FACT(s) (Environment):

Linux Intel
Progress 9.x
OpenEdge 10.x

SYMPTOM(s):

Transport Failure errors with SMTP when sending line feed (~n) characters to Linux qmail server

Connection failure for host <host_name> port <port> transport <transport_name>. (9407)

CAUSE:

When passing newline characters to the qmail smtp server when positioned on a blank line in the body of a message, qmail returns an error with a URL and disconnects when connected via a socket. Directly after sending the message the GET-BYTES-AVAILABLE attribute of the socket handle may return a value larger than zero then, when attempting to read the socket you may see this transport failure message.
Mostly how this presents itself depends upon timing and bandwidth. You may simply see an error code 451 returned from the server or it may actually appear that the message was successful if you read the socket before the message is returned.

FIX:

Ensure that no line feed characters (~n) are being sent when positioned on an empty line, concatenate them to the end of a line of text.