Mailing List CGatePro@mail.stalker.com Message #106400
From: Nicolas Hatier <nicolas.hatier@niversoft.com>
Subject: Re: Bad messages: "envelope format error"
Date: Thu, 4 May 2017 16:56:54 -0400
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>

1. The email address is not valid according to the RFC
2. CGP still accepts it, then it creates its own envelope line with the invalid address
3. The module in CGP that parses that line is more restrictive than the module which writes it, and it fails to do it.

So IMHO there is a bug in CGP: yes, the email is invalid, but a well-behaving server should refuse it DURING the SMTP transaction, not while trying to parse its own data.

Nicolas Hatier, ing. <nicolas.hatier@niversoft.com>
Niversoft idées logicielles - http://www.niversoft.com



On 2017-05-04 15:54, Gib Henry wrote:

Well, no, those are the first 3 lines of the bad file itself, which I presume are transcriptions of lines received during the SMTP connection; the problem is that CGP was unable to process the third line.  Cheers,
--
Gib Henry


On 5/4/17 2:33 PM, James Moe wrote:
On 05/03/2017 08:15 AM, Gib Henry wrote:
S SMTP [184.105.182.154]
A gibhenry.com [192.168.1.2]
P I 02-05-2017 15:54:08 0000 ____
____<FWD-737QTYSMENAIYCQANITQQNBAQYAHIBFQCZQC2IIVHJAO [...]

R W 02-05-2017 15:54:08 0000 ____ _FY_ <gib@gibhenry.com>

Received: from opayq-out-04.junkemailfilter.com ([184.105.182.154] verified)

  Is this really the first few lines of the message's header?
  If so, the first three lines are invalid. Then there is an empty line
which indicates the start of the actual message which, in this case,
appears to be the rest of the header. Quite mangled all around.
  The line length limit for email is 1000 octets, including the CR-LF at
the end. However, opayq seems to found a way to create an invalid
address without exceeding that limit, as Gib noted.



Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster