By Domain Settings

Mark Sapiro mark at
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

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%/ 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	*	store,deliver
FromOrTo	default	store

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

More information about the MailScanner mailing list