[Mimedefang] Filtering based on X-Mailer or X-MIMEOLE header?

John Rudd john at rudd.cc
Sat Nov 25 13:12:49 EST 2006


> header ECC_ODD_TZ Date =~
> /^\s*(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)\,\s\d{1,2}\s(?:Jan|Feb|Mar|Apr|Jun|
> Jul|Aug|Sep|Oct|Nov|Dec)\s\d{4}\s\d{2}(?:\:\d{2}){1,2}\s[\+\-]?\d{2}[123
> 456789]\d$/
> 

Shouldn't that last bit be:

[12456789]\d$/


As you've got it, it will reject an offset of xx30, which, as you 
pointed out, is valid.





More information about the MIMEDefang mailing list