Filtering Email Attachments

Support Category(s): Cpanel, Email

A lot of emails received today contain affected zip files

The server scans attachments but only up to a certain size, otherwise the server will slow right down.
Hackers normally send through other infected computers sending larger attachments.

You can set a filter in CPANEL under the email section to get rid of these.
Choose either Global to apply for all emails or Email filters if you want to select individual emails.

global_filters

Select Create a Filter

Give the filter a name

  • Choose Body
  • Contains
  • enter .zip to discard any emails with a zip attachment
  • Actions – I would select Discard Message – that’s up to you.

filterzip

Update

1/12/2016
We have had to force a ban on emails containing attachments of certain file types.
This applies to sent and received emails.
Right now there are huge volumes of emails to random email addresses usually containing large attachments with hidden Malware.
Some of these hit the right spot, most emails are bounced as the return to address does not exist.

Technically is it up you to block what you don’t require using CPANEL.
For some of you doing that it’s much appreciated.

Right now we have to take action to protect server loads.
We will remove the block once we shift to a new server, then monitor loads again.

For unsafe attachments please expand the link below

The list below are the current file extensions blocked.
If you attempt to send these file you will receive a message like 550 (Archived_DAT.UNOFFICIAL)
.bat
.btm
.cmd
.com
.cpl
.dll
.exe
.lnk
.msi
.pif
.prf
.reg
.scr
.vb
.vbs
.url
.pif
.docm

if you want to send an email with an attachment which is blocked please do the following:-
Rename the file to say .pdf extension.
Example:
Sending a exe attachment
Rename the .exe file to .pdf
Explain to the person receiving the email to rename the email back to a .exe extension