procmail
[Top] [All Lists]

Re: Invalid message-ids

1997-08-10 21:14:00
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, here's a slight refinement to something I posted here the
other day (to replace both the recipes you had):

    :0:
    * ! ^Message-Id:[   ]*<[^   <>@]+(_at_)[^   <>@]+>[  ]*$
    plonk

As usual, the whitespace in the brackets consists of a space and a tab.

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

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