[Mimedefang] Bad extensions and vCards

Kelson Vibber kelson at speed.net
Thu May 30 17:41:14 EDT 2002


Ran into another interesting one.  Apparently at least one mail program 
attaches vCards (.vcf) with a filename based on the name and email address of 
the person.  So you end up with filenames like "Joe Schmoe 
(jschmoe at wherever.com).vcf" - a huge number of which are going to trip 
filter_bad_filename because of the .com domain name.

I've added a $ at the end of the expression in filter_bad_filename so that it 
will only match at the end of the string.  In anyone's experience, is there a 
reason to look for dangerous extensions earlier in the filename?

-- 
Kelson Vibber
SpeedGate Communications, Technical Staff
kelson at speed.net          Phone: (949) 341-0800
http://www.speed.net/     FAX:   (949) 341-0900




More information about the MIMEDefang mailing list