procmail
[Top] [All Lists]

Re: Message Ids

2003-01-04 04:35:40
LuKreme <kremels(_at_)kreme(_dot_)com> wrote:

On Tuesday, December 10, 2002, at 02:33 PM, Paul Chvostek wrote:

  * ! ^Message-Id: 
<[a-z0-9!#%*+/=?^_{|}~.\$\'\`-]+(_at_)[a-z0-9!#%*+/=?^_{|}~.\$\'\`-]+>$

(watch the line wraps)

Message-ID: <p05300968ba3b75bdc3cd(_at_)[192(_dot_)168(_dot_)1(_dot_)11]>

What about that message ID violates the RFC?  I read through 2822 and 
didn't see anything that would disqualify that message.  Is it simply 
the []'s enclosing the IP address that are hitting the regex?

Are brackets evil?

While it's too much work for me to try to parse Paul's regex right now,
I don't think brackets or the form indicated actually violate the RFCs.
IOW, Paul's regex may need some rethinking.

The particular example given probably *does* violate the RFCs, though,
but not because of the brackets per se; rather, because the numbers
therein belong to /16 private address space.  They have no value as
indicators of any TLD.

-- 
dman


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>