Koozali.org: home of the SME Server

Blocking attachments - .zip etc.

dessex

Blocking attachments - .zip etc.
« on: September 22, 2005, 08:27:13 AM »
I have read Ray Mitchell's pattern matching Howto and either I am unclear on its capabilities (likely) or I did not see a way to block attachments by file extension only (eg. .bat .exe .zip) etc.

How would I do this?  I want to be able to specify a list of file extensions to reject automatically.

Thank you for your help.

Doug

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Blocking attachments - .zip etc.
« Reply #1 on: September 24, 2005, 01:50:14 PM »
dessex

You are completely missing the concept of how this contrib works.

It does not block file extensions by name, it blocks email attachment file content by matching certain patterns. These patterns represent various types of executable content. As executable content of any sort is considered potentially dangerous, then email messages with these type of attachments are rejected.

It will block files of the type mentioned (bat, exe, zip) if they have executable content, and that particular pattern has been enabled.

All exe & zipv1 (plus a few others) content is blocked by default.
Note that zipv2 format content is allowed through by default but can be blocked (enabled) if desired.

If you want other types of file extensions blocked, then you determine the pattern for that file type and add that pattern to the db and anable it, as per the quite detailed instructions in the HOWTO.

I suggest you install the contrib, enable it and see what it does. It will most likely meet your needs using the default settings.
...

dessex

Blocking attachments - .zip etc.
« Reply #2 on: September 25, 2005, 05:10:33 PM »
Thank you for taking the time to respond to my question.  I did not realize how it worked.  I plan to install it  ASAP.

Also, I appreciate the willingness of everyone at contribs.org to answer even the stupid questions.  I have a lot to learn and contribs.org has been a very valuable resource.  Thanks again.

Doug