|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Alex Michlin (alex
delete.org)Date: Mon Apr 29 2002 - 16:45:11 CDT
I am running postfix 1.1.7 and have the following as a body_check:
# Block banned file types
/^Content-(Disposition|Type):.*name="?.*\.(exe|bat|com|pif|vb|lnk|scr|reg|chm|
wsh|js|inf|shs|job|ini|shb|scp|scf|wsc|sct|dll)/ REJECT The attached file
type(s) are banned by this server.
This filter works well except I noticed today the following log entry:
Apr 29 16:21:01 <hostname> postfix/cleanup[31725]: 1014E13040A: reject:
body Content-Disposition: attachment; filename="TheStreet.com Renl (02)
Binder.doc";...
Is there a way to ignore .com in the filename, but still check for the
.com extension of the file? I'm open for suggestions and recomendations.
TIA,
Alex
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]