How to White List from MailScanner
MailScanner at ecs.soton.ac.uk
Sat Jul 3 14:42:31 IST 2010
If you want the "big switch" setting to put a ruleset on, it's called
You can whitelist a particular IP or hostname like this:
Set in MailScanner.conf:
Scan Messages = %rules-dir%/scan.messages.rules
And then in /etc/MailScanner/rules/scan.messages.rules put things like this:
From: 192.168. no
From: host:yoursafedomain.com no
FromOrTo: default yes
This will whitelist all machines whose IP addresses start with 192.168
and any host whose hostname is in "yoursafedomain.com" (notice the
"host:" in this rule!). If you leave out the "host:" bit, then it will
whitelist all mail whose sender address claims to be
anything at yoursafedomain.com which is very dangerous as the sender
address can be trivially faked!
Hope that helps get you going.
The next finer controls than "Scan Messages" are "Virus Scanning = yes",
"Dangerous Content Scanning = yes" and "Spam Checks = yes", if you want
to control certain major areas of processing.
On 02/07/2010 23:21, Peter Ong wrote:
> From: "Peter Ong" <peter.ong at hypermediasystems.com>
>> To: "mailscanner"<mailscanner at lists.mailscanner.info>
>> Sent: Friday, July 2, 2010 12:12:32 PM
>> Subject: How to White List from MailScanner
>> Hello Everyone,
>> How do I whitelist a server from MailScanner? Allow me to explain.
>> I know how to whitelist someone in postfix through the access table. I
>> know how to whitelist someone from MailScanner's spamassassin through
>> the rules/spam.whitelist.rules and similarly for the virus scanning.
>> But MailScanner has a function where it disarms html tags like script,
>> img, a, etc.
>> I can whitelist an address from spam, virus, and at the MTA, but how
>> do I whitelist so that specific domains are not disarmed by
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Need help fixing or optimising your systems?
Need help getting you started solving new requirements from your boss?
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner