Disable disarm for one incoming domain
Disable disarm for one incoming domain
When Mailscanner disarms incoming Amazon messages, the email is unintelligible. Is it possible to disable disarming for one particular sender email domain?
Re: Disable disarm for one incoming domain
Hi,
The short answer is yes you can, but the details are extended.
You may have to repeat this for iframes, forms, scripts and webBugs. The details for iframes are attached from the mailscanner configuration.
and save this change.
Create the file 'disarm.iframes.rules' in the rules-dir (usually ) with the following content:
You will need to repeat this file creation for each type of disarm, but I would recommend looking at the email concerned and only allowing the appropriate type (iframe, form, script or webbug.)
Hope this helps
Craig R
The short answer is yes you can, but the details are extended.
You may have to repeat this for iframes, forms, scripts and webBugs. The details for iframes are attached from the mailscanner configuration.
The default value is 'disarm'. Replace this with a file name. e.g.Do you want to allow Frame tags in email messages? This is not a good
idea as it allows various Microsoft Outlook security vulnerabilities to
remain unprotected, but if you have a load of mailing lists sending them,
then you will want to allow them to keep your users happy.
Value: 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
This can also be the filename of a ruleset, so you can allow them from
known mailing lists but ban them from everywhere else.
Code: Select all
%rules-dir%/disarm.iframes.rules
Create the file 'disarm.iframes.rules' in the rules-dir (usually
Code: Select all
/usr/mailsacanner/etc/rules
Code: Select all
From: @some.domain.xxx yes
FromorTo: default disarm
Hope this helps
Craig R