Message Size

Julian Field mailscanner at ecs.soton.ac.uk
Thu Jul 3 20:17:47 IST 2003


At 20:53 03/07/2003, you wrote:
>First, I don't want to sound ungrateful, I really do appreciate the new
>feature to filter on total message size.
>
>However, when a message is over the set size, MailScanner tags the subject
>line with the {Virus} tag, and the report message to the receipient is the
>virus removal message. Likewise, the report back to the sender appears to
>be the 'Sender Error Report'.
>
>These messages are a bit misleading. If the 'Maximum Message Size' filter
>doesn't warrant having its own tag, report to receipient, and report to
>sender, could you perhaps have that trigger use the 'Bad filename' report,
>'Sender Bad Filename' report, and 'Filename Subject Text' tag instead?
>Those make a bit more sense.

Can you double check that you don't get the bad filename report please? It
adds the same type of report to the message as the filename checks.

To prove the point, the filename checks do this:
             MailScanner::Log::InfoLog("Filename Checks: %s (%s)",
                                       $logtext, $attach);
             $message->{namereports}{$safename} .= "$usertext ($safename)\n";
             $message->{nametypes}{$safename}   .= "f";
             $counter++;
             $message->{nameinfected}++;
while the filetype checks do this:
           MailScanner::Log::InfoLog("Filetype Checks: %s (%s)",
                                     $logtext, $attach);
           $message->{namereports}{$safename} .= "$usertext ($safename)\n";
           $message->{nametypes}{$safename}   .= "f";
           $counter++;
           $message->{nameinfected}++;

You may notice a slight similarity in the code...
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list