procmail
[Top] [All Lists]

'nuther msgid pattern?

2003-02-04 10:24:31
egrep -i "message-id: [<][0-9]{10}[(_dot_)][0-9]{4}[(_at_)]" file(s)

gives me no false hits.  The terminal @ appears to be necessary.  All the
msgid strings begin with 104??? The second part (just before the @) can be
four or five digits.  This also got hits in an old spam folder (Aug 02).

The .rc I'm using is:

N=[0-9]

:0 : #message-id <10digits.5digits
* ^Message-ID:[         ]*<$N$N$N$N$N$N$N$N$N$N\.$N$N$N$N$N@
s_msgidd

(And one for 4digits, of course).

Is there a way to say "4 or 5 digits"?  Something like [$N[$N]]@ maybe?

                                - fleet -


_______________________________________________
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>