Date: Mon, 9 Jun 2003 09:48:42 +0100 From: "Jamie Heckford" <jamie@tridentmicrosystems.co.uk> To: "'Chuck Swiger'" <cswiger@mac.com> Cc: freebsd-isp@freebsd.org Subject: RE: Block exe files with Sendmail Message-ID: <001801c32e63$edd0a5e0$5264a8c0@jamieheckford> In-Reply-To: <3EE21F2A.6010807@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> James Godwin wrote: > Can anyone point me in the direction of a solution, scripts or > documentation detailing the removal of exe files using sendmail. > Or, If you fancied trying the excellent postfix, its as simple as: -- /usr/local/etc/postfix/block /^(Content-(Type|Disposition):.*|[[:space:]]*(file)?)name=("[^"]*|{^{:sp ace:]]*)\.(exe)[[:>:]]/ REJECT -- /usr/local/etc/postfix/main.cf Body_checks= regexp:/usr/local/etc/postfix/block Cheers, Jamie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001801c32e63$edd0a5e0$5264a8c0>