How to block double extension attachments on MagicSpam or SpamAssassin

Welcome to MagicSpam Pro for cPanel WHM! A better spam protection in an easy to use cPanel WHM Module. Visit here for support, frequently asked questions, wishlists and discussion groups on this great module to make life with cPanel WHM that much simpler.

Moderators: wizard, magicspam

Post Reply
NubeNinja
Posts: 4
Joined: Tue Oct 26, 2021 10:25 am

How to block double extension attachments on MagicSpam or SpamAssassin

Post by NubeNinja » Tue Oct 26, 2021 12:23 pm

HI!

I'm getting some attachments with double extension:

virus.first.second

Like .exe.pdf, .xlsx.html and so on.

Is there any way to block this?

Thanks in advance!

magicspam
Posts: 1563
Joined: Tue Oct 28, 2008 2:27 pm

Re: How to block double extension attachments on MagicSpam or SpamAssassin

Post by magicspam » Mon Nov 01, 2021 2:00 pm

Hello NubeNinja,

MagicSpam does not currently have the ability to block emails based on the attachment extension. We have created a development ticket and passed it along to the product team for further consideration.

However, it does appear like cPanel provides native support to block email based on the extension of the attachment via:

WHM Panel >> Exim Configuration Manager >> Basic Editor >> Attachments: Filter messages with dangerous attachments

You will need to update the filter in order to block attachments with double attachments by following the following guide: https://documentation.cpanel.net/displa ... ilter+File

Thanks.
-- MagicSpam Support Team --

Post Reply

Return to “MagicSpam Pro for WHM/cPanel”

Who is online

Users browsing this forum: No registered users and 2 guests