By Domain Settings

Mark Sapiro mark at msapiro.net
Wed Aug 2 04:38:47 UTC 2017


On 08/01/2017 02:16 PM, Danita Zanre wrote:
> 
> I obviously just don’t quite get what this file is supposed to look like.
> 
> 
> What I really want is for any mail to this domain the items are marked
> as required, but then delivered and stored.  Non-Spam and Spam are
> already set to deliver, but High Scoring Spam is not.  I only want this
> one domain to have their High Scoring spam marked and sent to them.


Read the documentation about rulesets at /etc/MailScanner/rules/README
and /etc/MailScanner/rules/EXAMPLES. There is also documentation in
Chapter 5 of the manual at
<https://s3.amazonaws.com/msv5/docs/ms-admin-guide.pdf>

What you want in your MailScanner configuration, e.g., in conf.d, is a
file which contains a line like

High Scoring Spam Actions = %rules-dir%/some.name.rules

some.name is anything you want, e.g., high.spam.action.rules, but the
last part of the name is .rules. Then you create that file in the rules
directory (normally /etc/MailScanner/rules) and it contains

To	*@mydomain.com	store,deliver
FromOrTo	default	store

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list