procmail
[Top] [All Lists]

Re: Invalid message-ids

1997-08-11 08:43:00
At 06:27 AM 8/11/97 +0300, era eriksson wrote:
On Sun, 10 Aug 97 22:49:49 -0400,
Timothy J Luoma <luomat+procmail(_at_)luomat(_dot_)peak(_dot_)org> wrote:
:0:
* ! ^Message-ID:\ \<\>
InvalidMessageID
Does that look right?

No, you probably meant * ^Message-Id: <> -- the backslashed <>:s mean
something else and what you have will in fact not match anything ever,
if I'm not mistaken. Also the ! seems misplaced IMHO.

Actually, I think the things \< and \> match just happen to include
< and >  , thus that would probably "work" except for the ! you noted.
It would also pick up things like:
        Message-Id: <(_dot_)foo(_at_)bar(_dot_)com>
which is probably not the goal, though.

I'm not sure how procmail's regexp engine will treat "\ " either though...
I'd presume it'll ignore the backslash, but if not, then we're back
to not matching anything ever.

Cheers,
Stan

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