On Tue, 29 Jan 2002, Professional Software Engineering wrote:
*.[a-z][a-z][a-z0-9].[a-z0-9]+ (to catch "double-extension" attachments)
That might be keen for windows users, but what about "filename.tar.gz" ?
The sanitizer (where that RE comes from) prefilters on a list of
executable extensions, so that regex would only match a
double-extension executable (e.g. mypictures.yahu.com)
.gz is not an executable extension so it wouldn't be checked against
that list.
--
John Hardin KA7OHZ ICQ#15735746 http://www.impsec.org/~jhardin/
jhardin(_at_)impsec(_dot_)org pgpk -a
jhardin(_at_)wolfenet(_dot_)com
768: 0x41EA94F5 - A3 0C 5B C2 EF 0D 2C E5 E9 BF C8 33 A7 A9 CE 76
1024: 0xB8732E79 - 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
In 1998 more than three times as many people in the US were killed
by incompetent physicians than were killed by handguns, yet the
President of the A.M.A. is adopting "gun safety" as his platform.
-----------------------------------------------------------------------
1007 days until the Presidential Election
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail