V4 and viruses to delete

Julian Field mailscanner at ecs.soton.ac.uk
Tue Sep 24 09:10:32 IST 2002


At 00:18 24/09/2002, you wrote:
>Thanks.  I was just trying to reduce the amount of typing in
>mailscanner.conf between revs.  I had tried this earlier and it doesn't
>seem to work which was why I asked.  What happens is that it never
>deletes the df/qf files from queue and gets stuck in a loop.

If you have "Still Deliver Silent Viruses = no", it does indeed loop.
Thanks for spotting that.
Fortunately the correction is trivial:

--- mailscanner.old     Mon Sep 23 23:19:30 2002
+++ mailscanner Tue Sep 24 09:17:02 2002
@@ -336,6 +336,7 @@
      # Deliver all the cleaned messages
      # and mark them for deletion
      $batch->DeliverCleaned();
+    $batch->RemoveDeletedMessages();

      # Warn all the senders of messages with any non-silent infections
      $batch->WarnSenders();


>  It sends
>the postmaster warning and does remain silent for the sender but since
>it's still in queue it gets processed over and over.
>
>-----Original Message-----
>From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
>Sent: Monday, September 23, 2002 6:06 PM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: V4 and viruses to delete
>
>
>At 20:35 23/09/2002, you wrote:
> >What would be an example for the rule file for this option to work?
>
>I assume you're talking about the "Silent Viruses" option.
>
>You can just give it a space-separated list of virus names, like this:
>Silent Viruses = Klez Yaha-E
>
>If you want to give it the filename of a ruleset, then that file could
>contain something like
>To      *@domain1.com   Yaha-E
>To      *@domain2.com   Klez Sircam-A
>
>This is one of the keywords that I couldn't really think why you might
>want to use a ruleset, but didn't see any good reason to stop you if you
>wanted to. If you can tell me what you are trying to achieve, that would
>help me produce a better example for you.
>--
>Julian Field                Teaching Systems Manager
>jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
>Tel. 023 8059 2817          University of Southampton
>                              Southampton SO17 1BJ

--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list