I'm working on spamassassin : it seems some spam have a fake
"User-Agent: mutt 1.4i" header. But those spam have a
message-Id which wasn't generated by mutt. As a result, I'm 
looking for a regex which matches a mutt Message-ID.

Can you confirm that this perl regex is working on all versions of 
mutt ?

/20[0-9]{2}[01][0-9][0-3][0-9][0-2][0-9][0-5][0-9]{3}\.G?[A-Z][0-9]{1,5}@.{2,40}\..{2,10}/

I tried this regex on about 1000 mails (mutt & non-mutt). 
It worked but it did not represent all possibility, and not all 
versions of mutt...

Do you plan to change the way mutt generates its Messge-ID in  
future versions ?

-- 
       Maxime Ritter        |    French Computer Geek
Mail : [EMAIL PROTECTED] | Jabber : [EMAIL PROTECTED]

Attachment: msg00205/pgp00000.pgp
Description: PGP signature

Répondre à