In addition to built-in zero-hour malware protection, SpamStopsHere also includes two types of attachment handling to help you further prevent viruses, Trojans, ransomware and other malware from entering your network:

  • Attachment Stripping: A list of files and file types to remove from inbound email
  • Advanced Attachment Filtering: A list of files and file types to filter based on action(s) you select (for example, Quarantine, Modify Subject, Delete).

The attachment filter applies to emails smaller than 5MB. Those larger than 5MB are not modified. You can block specific file names (e.g, "") and you can use "*" as a wildcard to block file types. Typical file types you may want to strip or filter include: *.rar, *.exe, *.zip, *.bat, *.scr, and *.pif.

Attachment filters are optional. However, for additional protection against viruses, trojans and other malware, we recommend that you at least strip the following file types (you can copy and paste the list into your control panel):


If you have outbound filtering (Enterprise Edition), you can also prevent specific files (for example, "confidential-memo.pdf") from accidentally leaving your company's internal mail network.

Configure Attachment Filters

  1. Login to the control panel with your Administrative account.
  2. On left side bar under Hosted Service, select SpamStopsHere.
  3. Next to the domain you want to configure, select Configuration Options.
  4. Under Attachment/Anti-Virus Filtering, select Attachment Filters.
  5. See below for Standard / Business Editions or Professional / Enterprise Editions
  6. Once completed, click the Close button.

Attachment Stripping

Attachment Stripping is very easy to setup. You simply define a list of files. You can use "*" as a wildcard to match file types (for example, "*.bat"). Attached files that match one of your attachment filters are removed from messages smaller than 5MB and a notice (including the file name) is appended to the message telling the recipient the file was stripped.

How to Add Filters

  1. In the Filter box, enter the name or extension of each file that you want SpamStopsHere to strip from incoming email. Put each file or extension on a separate line. You can use "*" as a wildcard. For example, enter "*.pif" (without the quotes) to strip all files with a ".pif" extension. The filters are not case sensitive (for example, "*.PIF" is the same as "*.pif").
  2. Click Add Filter

How to Remove Filters

  1. In the Current Attachment Filters box, select a filter that you want to remove.
  2. Click Remove FIlter
  3. Repeat the above steps until you're done.

Advanced Attachment Filtering

Advanced Attachment Filtering lets you define a second list of files and/or file types and an action to take on matching emails (Modify, Forward, Reject or Delete, and whether or not to Quarantine the email).

How to Add Attachment Filters

To configure the attachment filter lists:

  1. Click Edit List
  2. In the Add New Filter section, enter a file name. Use "*" as a wildcard (e.g., "*.pif", without the quotes). The filter is not case sensitive.
  3. In the Action box, select either "Remove Attachment" for simple stripping or "Filter Entire Email" for advanced filtering.
  4. Click Add Filter
  5. Repeat until you're done, then click Close

How to Change the Filtering Action

By default, emails with files that match the "Filter Entire Email" filter will be rejected, the sender will be notified, and the email will not be quarantined. That is what we recommend. To edit the action that is taken on matching emails:

  1. On the Attachment Filters page, click Edit Filter Setting
  2. Optionally check Quarantine to send matching emails to the domain-wide and end-user quarantine
  3. Select the filtering action (Modify Subject, Forward to, Reject, or Delete) and fill in other information as appropriate.
  4. To save your changes, click Set
  5. To cancel your changes, click Cancel

For details on these actions, see the Filter Options page.

How to Remove Filters

  1. In the Attachment Filters box, select a filter that you want to remove.
  2. Click Remove FIlter
  3. Repeat until you're done, then click Close

Other Resources