<tt><font size=2>mailscanner-bounces@lists.mailscanner.info wrote on 2010/02/02
03:48:30 PM:<br><br>&gt; On 02/02/2010 11:59, Andrew Chester wrote:<br>&gt; &gt; Hi There<br>&gt; &gt;<br>&gt; &gt; We are using MailScanner as part of a mail gateway for incoming
mail, <br>&gt; &gt; and I would like to set up a ruleset on what to do when MailScanner
<br>&gt; &gt; finds spam - I want it to deliver the mail to certain domains,
and <br>&gt; &gt; bounce the rest, I've had a look at the examples in the rules
<br>&gt; &gt; directory, and from that I've set up the following in <br>&gt; &gt; %rules-dir%/spam.actions.rules:<br>&gt; &gt;<br>&gt; &gt; To: *@domain.com &nbsp; &nbsp; deliver<br>&gt; &gt; FromOrTo: default &nbsp; &nbsp; &nbsp; bounce<br>&gt; That's a terrible idea, but other people have told you that already.</font></tt><br><br><tt><font size=2>Ye, I fixed that to forward to a mail-in database,
instead.<br>&gt; &gt;<br>&gt; &gt; Is that correct, do I need to include any other lines into the
<br>&gt; &gt; ruleset, or can I leave it with only the two lines above?<br>&gt; &gt;<br>&gt; &gt; I then set the &quot;Spam Actions =&quot; field in MailScanner.conf
to the <br>&gt; &gt; following:<br>&gt; &gt; Spam Actions = %rules-dir%/spam.actions.rules<br>&gt; &gt;<br>&gt; &gt; Is that correct? <br>&gt; Yes. Provided you have set %rules-dir% at the top of MailScanner.conf
<br>&gt; correctly.<br>Ok, I have the rules-dir set correctly, so I'll give it a try - thanks
for the help!</font></tt><br><br><tt><font size=2>Andrew</font></tt><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>