<font size=2 face="sans-serif">Hi There</font><br><br><font size=2 face="sans-serif">We are using MailScanner as part of
a mail gateway for incoming mail, and I would like to set up a ruleset
on what to do when MailScanner finds spam - I want it to deliver the mail
to certain domains, and bounce the rest, I've had a look at the examples
in the rules directory, and from that I've set up the following in %rules-dir%/spam.actions.rules:</font><br><br><font size=2 face="sans-serif">To: *@domain.com &nbsp; &nbsp; deliver</font><br><font size=2 face="sans-serif">FromOrTo: default &nbsp; &nbsp; &nbsp;
bounce</font><br><br><font size=2 face="sans-serif">Is that correct, do I need to include
any other lines into the ruleset, or can I leave it with only the two lines
above?</font><br><br><font size=2 face="sans-serif">I then set the &quot;Spam Actions =&quot;
field in MailScanner.conf to the following:</font><br><font size=2 face="sans-serif">Spam Actions = %rules-dir%/spam.actions.rules</font><br><br><font size=2 face="sans-serif">Is that correct? I tried to set it to
/usr/local/etc/MailScanner/rules/spam.actions.rules but then I get the
error: &quot;Your spam actions &quot;/etc/MailScanner/rules/spam.actions.rules&quot;
looks like a filename. If this is a ruleset filename, it must end in .rule
or .rules&quot; in the maillog.</font><br><br><font size=2 face="sans-serif">It is a FreeBSD system.</font><br><br><font size=2 face="sans-serif">Any help would be greatly appreciated,
thanks!</font><br><br><font size=2 face="sans-serif">Kind Regards,</font><br><font size=2 face="sans-serif">Andrew</font><font face="sans-serif"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Ukuvuma</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body link="#383838" vlink="#383838" alink="#383838">
<table width="100%" border="0">
  <tr> 
    <td><hr></td>
  </tr>
  <tr> 
    <td><div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">CONFIDENTIALITY CLAUSE</font></a></font></div></td>
  </tr>
  <tr> 
    <td><div align="center"><font color="#383838" size="1" face="Verdana, Arial, Helvetica, sans-serif">This message is intended only for the use of the individual or entity to
which it is addressed and contains information that is privileged and
confidential.  If the reader of this message is not the intended recipient,
or the employee or agent responsible for delivering the message to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.  If
you have received this communication in error, please notify the sender by
telephone.</font></div></td>
  </tr>
    <td><hr></td>

</table>
</body>
</html></font>