Closed Bug 428483 Opened 17 years ago Closed 10 years ago

PARSER: Internal Syntax Error

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: neale, Assigned: Bienvenu)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008040504 Minefield/3.0pre Build Identifier: version 3.0a1pre (2008040302) I have some specific messages (generated by OpenSRS, so will hit lots of people) that are generating an error of the format in the IMAP log: nnnn[xxxxxxx]: yyyyyyy:mail.server.com:S-INBOX:PARSER:Internal Syntax Error on line: %s: The auth-code for domain.com is: AbCdEf0321 The message succeeds in opening in the UI, but the failed line is truncated to: The auth-code for domain.c Reproducible: Always Steps to Reproduce: 1. Request a domain transfer auth code from from an ISP using OpenSRS 2. The email reads correctly via web-mail but not with nightly build of TB3
Version: unspecified → Trunk
How about thunderbird 2.0? Also, a full imap log could be helpful - <http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html#imap>
Hi, Not tried TB2 on this. As for the log, naturally, it's rather security sensitive (and I do have it, that's how I got the above error). I've received the email, re-sent 3 times, and it always has the same problem. Sorry that I cannot post the actual line, it would allow anyone looking to hijack a domain.
Hi, Just installed TB2 (version 2.0.0.12 (20080213)), and I get the same problem. Interestingly, if I forward the same line to myself as a plain text email, it parses. The original does not specify a Content-Type, so perhaps this is charset/default encoding related... I can email a log if you say where to email it to. Cheers, Neale
It's ok to sanitize the log, exchange the domain to be example.com, change the auth code so that it's not security sensitive.
Attached file Sanitised log
Well, the code wise you seem to end up here, but I don't know why. <http://lxr.mozilla.org/seamonkey/source/mailnews/imap/src/nsImapServerResponseParser.cpp#3177>
the last header might be suspicious: 2428[236d630]: 3045cd0:mail.maildomain.com:S-INBOX:CreateNewLineFromSocket: X-MIMETrack: Itemize by SMTP Server on server/Org(Release 8.0.1|February 2428[236d630]: ReadNextLine [stream=5ede138 nb=35 needmore=0] 2428[236d630]: 3045cd0:mail.maildomain.com:S-INBOX:CreateNewLineFromSocket: 07, 2008) at 03/04/2008 14:32:32 Does the second line of the X-MIMETrack header begin with a tab, or just a space?
That's a space... And naturally, as that's the server's line, then it is common to every message in my inbox.
Product: Core → MailNews Core
Neale, do you still see this?
Flags: needinfo?(neale)
Whiteboard: [closeme 2014-09-15]
I've not hit it again since my last report, so I guess it can be closed.
Flags: needinfo?(neale)
Thanks for the update
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Whiteboard: [closeme 2014-09-15]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: