What does the {Disarmed?} tag mean and can I disable it?

The {Disarmed} tag is added by MailScanner when it has detected and disarmed potentially dangerous HTML content in an email.

In the MailScanner Configuration (WHM > MailScanner > MailScanner Configuration) there are several settings that affect whether certain types of HTML tags should be allowed through in emails:

Allow IFrame Tags
Allow Form Tags
Allow Script Tags
Allow WebBugs
Allow Object Codebase Tags

You should read through the text in the MailScanner configuration file to decide whether you want to block, allow, or disarm each type of tag. If you wish to configure this on a per-domain basis, instead of yes, no or disarm you can put the name of a ruleset, such as %rules-dir%/webbugs.rules. (Be sure to include %rules-dir%/ so it knows where to look for the file.)

Create a file with that name (e.g. webbugs.rules) in the appropriate directory (normally /usr/mailscanner/etc/rules/). In that file you should have one or more lines like this:

To: *@domain1.com disarm
To: *@domain2.com disarm
FromOrTo: default yes

Here is the meaning of the values:
yes => Allow these tags to be in the message
no => Ban messages containing these tags
disarm => Allow these tags, but stop these tags from working

You need to include the default line to tell MailScanner what to do with the domains that you have not specified in the lines above. Obviously if you have more clients that want the tags disarmed than don't want them disarmed, you could do the reverse and have disarm as the default and yes as the exceptions.

If you simply want to remove the "Disarmed" notice in the subject line, go to WHM > ConfigServer MailScanner FE > MailScanner Configuration and search for "Disarmed Modify Subject". Change the value of this to no.

Was this answer helpful?

Related Articles

cPanel MailScanner Install/Upgrade Package

Please read this whole page before downloading the package Through our experience of...

Mailscanner front end

cd /usr/src/rm -fv msfe*wget http://www.configserver.com/free/msfeinstaller.tgz tar -xzf...

How can I get the MailScanner configuration to appear in the Xmail cPanel theme?

Do the following steps: cd /usr/local/cpanel/base/frontend/xmail ln -s ../x/cells/ pico -w...

How can I filter spam by blackhole lists such as spamcop.net?

In WHM > MailScanner > MailScanner Configuration you will find a setting for 'Spam List =...

There are some domains on my server that want virus and spam scanning but do not want any attachments blocked. How can I set this up?

In the /usr/mailscanner/etc/rules/ directory, edit filename.rules.rules and filetype.rules.rules...