OSEC

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

From: Jim Seymour (jseymourLinxNet.com)
Date: Tue Sep 02 2003 - 12:31:04 CDT


Phil Curtis <philau-pairs.cz> wrote:
>
> 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.

Snarky question: If you don't want to accept such attachments,
what makes you think anybody else wants to receive them? ;)

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

What Noel said.

--
Jim Seymour | PGP Public Key available at:
jseymourLinxNet.com | http://www.uk.pgp.net/pgpnet/pks-commands.html
http://jimsun.LinxNet.com |