Re: body_checks not working with version 1.1.2

From: Ralf Hildebrandt (no email)
Date: Fri Feb 01 2002 - 14:45:55 EST


On Fri, Feb 01, 2002 at 02:44:52PM -0500, Rodney Green wrote:
> Here's what I'm using:
>
> main.cf:
> body_checks = regexp:/etc/postfix/body_checks
>
> body_checks: (this file is located in the /etc/postfix directory)
> /^[ ]*name=.*\.(com|exe|dll|eml|vbs)/
> REJECT

This matches

An arbitray number of whithespaces at the beginning of a line
followed by
name=
An arbitray number of characters
.
followed by com|exe|dll|eml|vbs

So it should match:
       name=foo.exe

Try that with:
% postmap -q " name=foo.exe" regexp:/etc/postfix/body_checks

-- 
Ralf Hildebrandt (Im Auftrag des Referat V A)   
Charite Campus Virchow-Klinikum                 Tel.  +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
Like medieval peasants, computer manufacturers and millions of users
are locked in a seemingly eternal lease with their evil landlord, who
comes around every two years to collect billions of dollars of taxes
in return for mediocre services. --Mark Harris, Electronics Times 
-
To unsubscribe, send mail to  with content
(not subject): unsubscribe postfix-users







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD