Per Domain Spam Forwarding

Greg Boehnlein damin at nacs.net
Tue Nov 11 06:07:53 GMT 2003


On Mon, 2003-11-10 at 23:58, Ugo Bellavance wrote:
> > I found: "Spam Actions = forward" in the mailscanner.conf
> > file and that
> > seems to allow me to do it on a system wide basis, but how can I apply
> > that particular action to a specific domain?
> >
> > 1. Can Mailscanner handle per-domain actions?
>
> Yes, for every setting that says: "This can also be the filename of a ruleset", you can create rules for specific users, domain (from or to).  Some other stuff that I'm not aware of also, I gues...
>
> > 2. Can Mailscanner forward high scoring spam to a specific
> > E-mail address,
> > yet deliver the rest of it normally?
>
> Yes, just go to the setting called "High Scoring Spam Actions = " and put the path to the file of the ruleset you want to use (%rules-dir%/high.scoring.rules, for example.  You then create the file, and following the pattern in %rules-dir%/EXAMPLES, you build your rules.  You enter your criterias on the left side (To: @domain.com) and you enter what actions you want on the right (forward user at domain.com).  Don't forget to put a default entry.  What you put on the right-hand side is what will replace the setting in MailScanner.conf, for this criteria.
>
> Hope this helps.

Yes it does! ;) I followed your advice and created a ruleset and it
appears to work as suggested. I am now the proud recipient for
everything that Mailscanner and SA mark as Spam for every user in my
domain. ;)

Once again.. Mailscanner proves itself to be ultimately flexible and
totally awesome!



More information about the MailScanner mailing list