Article View: news.software.nntp
Article #23101Re: Checking message-ID validity?
From: Bill Stewart-Cole
Date: Mon, 10 Nov 1997 00:00
Date: Mon, 10 Nov 1997 00:00
37 lines
2334 bytes
2334 bytes
In article <64635h$jsg$1@zeus.fw.cuci.nl>, srb@zeus.fw.cuci.nl (Stephen R. van den Berg) wrote: > Bill Stewart-Cole <bill@scconsult.com> wrote: > >I just discovered yesterday that formail generates technically improper > >Message-ID's with the local part enclosed in quotes. It would not surprise > >me to find that a significant number of people have mail->news hacks set > >up using formail to generate Message-ID's which would get hit by a really > >pedantic Message-ID check. I seem to recall that tale's lists included > >messages with quotes in the ID. > > Can you (or anyone) show chapter and verse in an RFC where the left-hand part > of a Message-ID cannot contain double-quotes? > > As far as I can recall, when I investigated the matter, I couldn't find > any technical reasons why it would be forbidden, and therefore had > to be valid. Hmmm... This is a bit embarrassing. I dug into the RFC822 spec and ran through the syntax a couple times and was convinced that <"> was illegal. I even dug into the formail source a little last night think it might be an easy patch. (I came away convinced that I should stick to my own code...) I had a nice cite of those syntax rules as a response to your request. I even had an ordered list of just the relevant rules so that it would be clearer to parse. That's when I realized that I was absolutely wrong, and you are absolutely right. Simply put: quotes around the entire local part are legal. -- Bill Stewart-Cole bill@scconsult.com I'm not spam-blocked because I like playing the hardass net-fascist.
Technical Details
Message-ID:
<bill-1011970057250001@sc1.scconsult.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<642jpr$4cm$1@khavrinen.lcs.mit.edu> <slrn669o4m.rct.jbn@pop-a-wheelie.midwest.net> <bill-0911971403080001@sc1.scconsult.com> <64635h$jsg$1@zeus.fw.cuci.nl>Show Full Headers
Complete Article Headers
Message-ID: <bill-1011970057250001@sc1.scconsult.com> Subject: Re: Checking message-ID validity? Date: Mon, 10 Nov 1997 00:00:00 +0000 From: bill@scconsult.com (Bill Stewart-Cole) References: <642jpr$4cm$1@khavrinen.lcs.mit.edu> <slrn669o4m.rct.jbn@pop-a-wheelie.midwest.net> <bill-0911971403080001@sc1.scconsult.com> <64635h$jsg$1@zeus.fw.cuci.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 288234026 Organization: Despams 'r' us Rogue Midwest Office Newsgroups: news.software.nntp