<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2655.35">
<TITLE>RE: Bug when using rulesets for sender error reports?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Your last line should be:</FONT>
<BR><FONT SIZE=2>FromTo: default /etc/MailScanner/reports/en/sender.error.report.txt</FONT>
</P>
<P><FONT SIZE=2>or whatever report you want.</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Remco Barendse [<A HREF="mailto:mailscanner@barendse.to">mailto:mailscanner@barendse.to</A>]</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, January 08, 2003 5:33 PM</FONT>
<BR><FONT SIZE=2>To: MAILSCANNER@jiscmail.ac.uk</FONT>
<BR><FONT SIZE=2>Subject: Bug when using rulesets for sender error reports?</FONT>
</P>
<BR>
<P><FONT SIZE=2>I tried a rule file to localize the error report according to the senders</FONT>
<BR><FONT SIZE=2>domain. I put the name of the rule file in MailScanner.conf but it doesn't</FONT>
<BR><FONT SIZE=2>work.</FONT>
</P>
<P><FONT SIZE=2>When an error needs to be sent there are errors appearing in the maillog</FONT>
<BR><FONT SIZE=2>complaining about the last line of this ruleset.</FONT>
</P>
<P><FONT SIZE=2>From: *@*.de /etc/MailScanner/reports/de/sender.error.report.txt</FONT>
<BR><FONT SIZE=2>From: *@*.dk /etc/MailScanner/reports/dk/sender.error.report.txt</FONT>
<BR><FONT SIZE=2>From: *@*.uk /etc/MailScanner/reports/en/sender.error.report.txt</FONT>
<BR><FONT SIZE=2>From: *@*.es /etc/MailScanner/reports/es/sender.error.report.txt</FONT>
<BR><FONT SIZE=2>From: *@*.fr /etc/MailScanner/reports/fr/sender.error.report.txt</FONT>
<BR><FONT SIZE=2>From: *@*.it /etc/MailScanner/reports/it/sender.error.report.txt</FONT>
<BR><FONT SIZE=2>From: *@*.nl /etc/MailScanner/reports/nl/sender.error.report.txt</FONT>
<BR><FONT SIZE=2>From: *@*.br /etc/MailScanner/reports/pt_br/sender.error.report.txt</FONT>
<BR><FONT SIZE=2>From: *@*.ro /etc/MailScanner/reports/ro/sender.error.report.txt</FONT>
<BR><FONT SIZE=2>From: *@*.sk /etc/MailScanner/reports/sk/sender.error.report.txt</FONT>
<BR><FONT SIZE=2>FromTo: default</FONT>
</P>
<P><FONT SIZE=2>I tried using default and the name of the english file, but still the</FONT>
<BR><FONT SIZE=2>errors in the maillog appear and no report is being sent. Could it be that</FONT>
<BR><FONT SIZE=2>there is no default value set here??</FONT>
</P>
<BR>
<P><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>This message has been scanned for viruses and</FONT>
<BR><FONT SIZE=2>dangerous content by MailScanner, and is</FONT>
<BR><FONT SIZE=2>believed to be clean.</FONT>
</P>
</BODY>
</HTML>