At 10:08 -0800 25-03-2004, Russ Ringer wrote:
>>> Salvatore Toribio <[EMAIL PROTECTED]> 03/25/04 12:04AM >>>
At 16:58 -0500 24-03-2004, Jason Staudenmayer wrote:
Quarantine spams are coming through a virus in the admin warning =
emails?
 >>They used to come through as problem

I have the same problem. Everything always says "virus"
This was not from an attachment.

<--sample-->
A virus was found in an Email message you sent.=20
This Email scanner intercepted it and stopped the entire message
reaching its destination.=20

The virus was reported to be:=20

SPAM exceeds "quarantine" threshold - hits=3D26.1


I found it, there are some new lines in 1.21 subroutine scanloop that I hadn't noticed, one of this lines resets the variable $destring to "virus".


These are the lines:


if (!$quarantine_event) { $quarantine_event=$quarantine_event_tmp; } else { #Make sure this is set correctly $destring="virus"; }


You can change it to:


  if (!$quarantine_event) {
    $quarantine_event=$quarantine_event_tmp;
  } else {
    #Make sure this is set correctly
    $destring="virus" if ($quarantine_event !=~ /spam/i);
  }

This is only a quick fix, I will review this part for the next version of my patch, and also the notification that now are a little bit more complex.

REgards

Salvatore


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to