Bug

Jerry Benton jerry.benton at mailborder.com
Thu Feb 4 22:59:46 UTC 2016


This is why.


 # Decide if we want to scan this message at all
  $this->{scanmail} = MailScanner::Config::Value('scanmail', $this);
  if ($this->{scanmail} =~ /[12]/) {
    $this->{scanmail} = 1;
  } else {
    # Make sure it is set to something, and not left as undef.
    $this->{scanmail} = 0;
  }
  if ($this->{scanmail} !~ /1/) {
    $this->{scanvirusonly} = 1;
  } else {
    $this->{scanvirusonly} = 0;
  }


-
Jerry Benton
www.mailborder.com



> On Feb 4, 2016, at 3:15 PM, Antony Stone <Antony.Stone at mailscanner.open.source.it> wrote:
> 
> On Thursday 04 February 2016 at 17:51:06, Jerry Benton wrote:
> 
>> MailScanner has had a bug for the longest time. I am currently working on
>> packaging for the new version, so if someone could investigate this I
>> would appreciate it.
>> 
>> In scan.message.rules you have three options: yes,no,virus
>> 
>> Yes and No work correctly. However, Virus does not. The intent for that
>> setting is to only scan for viruses. However, MailScanner seems to perform
>> all of the normal checks as if the setting were Yes.
>> 
>> 
>> Can someone take a look and do some testing please?
> 
> Is it perhaps the case discrepancy between:
> 
> scanmail                   = scanmessages
> and
> ScanMail            1       no      0       yes     1       virus   2
> 
> in mailscanner/bin/MailScanner/ConfigDefs.pl
> 
> 	?
> 
> 
> Antony.
> 
> -- 
> "A person lives in the UK, but commutes to France daily for work.
> He belongs in the UK."
> 
> - From UK Revenue & Customs notice 741, page 13, paragraph 3.5.1
> - http://tinyurl.com/o7gnm4
> 
>                                                   Please reply to the list;
>                                                         please *don't* CC me.
> 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
> 



More information about the MailScanner mailing list