Mailing List CGatePro@mail.stalker.com Message #106390
From: Bill Cole <cgp-2015@billmail.scconsult.com>
Subject: Re: Bad messages: "envelope format error"
Date: Wed, 03 May 2017 12:10:07 -0400
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
X-Mailer: MailMate (2.0BETAr6082)
On 3 May 2017, at 11:15, Gib Henry wrote:

I have a number of messages accumulating in BadFiles, all from the same legitimate sender, all using opayq.com.  Most email from this sender does get through, but for those that fail, the log shows entries like these:

10:54:09.133 2 SMTPI-000484(opayq-out-04.junkemailfilter.com) [2710279] received encrypted, 23330 bytes
10:54:09.133 1 QUEUE([2710279]) failed to read the envelope line 3
10:54:09.133 0 QUEUE([2710279]) failed to scan envelope, line 3. Error Code=envelope format error
10:54:09.134 0 QUEUE([2710279]) moved To Bad Files

and the first few lines of the “bad” message are:

S SMTP [184.105.182.154]
A gibhenry.com [192.168.1.2]
P I 02-05-2017 15:54:08 0000 ____ ____<FWD-737QTYSMENAIYCQANITQQNBAQYAHIBFQCZQC2IIVHJAOEACUJAUFAPRA
  GREKC2UIAWAAGQAEPRHCEVEIA3SEBBIBBQAPEADCAAZABCRZAIDBSYVQAGASB3RMLVHCAIFACNJS6IC6TUACEAHOAA3ABJQAI
  YIGMAMMAIGAC7ABBQAHYZRCFS6AD4I4UAARCODZNUGUA7QAQMO22QBLJ5TAUYIAEAMCAHDIPJAAAIAAEA======@opayq.com>

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)

Line #3, beginning with “P”, is all one line, and perhaps at 296 characters, it’s longer than CGP can accommodate.  Is there a work-around?

None I know of and THERE SHOULD NOT BE ONE.

Total length of an envelope email address in SMTP (specified as a "path" in RFC5321) is limited to 254 bytes (plus enclosing '<>'.) That address is right at that limit. However, the local-part (before the @) is limited to 64 bytes, but that local-part is 254 bytes. So opayq.com is broken.
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster