Re: Rejecting Executable Mime Attachments With Postfix body_checks

From: Mike Tibor <tibor@lib.uaa.alaska.edu>
Date: Tue Mar 02 2004 - 14:23:42 PST

On Tue, 2 Mar 2004, Jamie Hushower wrote:

> I don't know if I can help, but would you mind posting your body_checks
> file or at least the content blocking line? I have attachments blocked
> via the header_checks parameter. Here is my syntax:
>
> (/^Content.*\.(bat|com|exe|js|jse|lnk|pif|scr|vbe|vbs|vxd).*/ REJECT
>
> I am unaware of the benefit (if one exists) over blocking attachments
> with one or the other, but this has worked well.

Hmm... I haven't tried it via the headers--I'll give that a shot just for
fun.

Here's my body_checks:

/name=".*\.(hta|com|pif|jse|js|bat|cmd|vxd|scr|shm|ex.|vb.)"$/ REJECT

Mike
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Mar 2 14:23:48 2004

This archive was generated by hypermail 2.1.8 : Tue Mar 02 2004 - 14:23:48 PST