OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Header Checks

From: Phil Curtis (philau-pairs.cz)
Date: Tue Sep 02 2003 - 12:04:49 CDT


I have the following in my main.cf

header_checks = pcre:/etc/postfix/pcre-header-checks

And this is the first line of pcre-header-checks
/^Content-(Type|Disposition):.*(file)?name
*=.*\.(com|exe|lnk|bat|scr|chm|hlp|hta|reg|shs|vbe|vbs|wsf|wsh|pif)/
REJECT Email rejected, an attachment with .${3} extension detected.

This works well. In fact too well. Not only does this block incomming
attachments, but I can't send attachments.

What can I do to allow certain users (identified preferably by email
address or network) to send attachments

Thanks in advance.