Signing of unscanned messages

Julian Field jkf at ecs.soton.ac.uk
Wed May 29 11:09:30 IST 2002


Well spotted. Your modification seems to work fine, and will be in the next
release.

At 23:29 28/05/2002, you wrote:
>Hi,
>
>I'm installing mailscanner on an ensim appliance server and wan't it to be
>an extra to have mail scanned for virusses.
>
>i use the following options in mailscanner.conf
>
>Scanning By Domain = yes
>Sign Unscanned Messages = no
>
>What happens is that the messages for the domains not in the domains.to.scan
>file are indeed not scanned, but the header has the Mailscanner sign: Found
>to be clean in it.
>
>I've looked in to the problem and it seems something goes wrong in
>sendmail.pl
>
>at line 766: if unscanned and don't signunscanned messages add the unscanned
>header. In any other case add the clean header.
>
>I think it should be changed to:
>     766     if ($entities eq 'unscanned'){
>     767       if ($Config::SignUnscannedMessages){
>     768         $headers = AddUnscannedHeader($headers);
>     769       }
>     770     } else {
>     771       $headers = AddCleanHeader($headers);
>     772     }
>
>Freerk Kalsbeek
>
>SafeXS
>T: 0320-286979
>F: 0320-286980
>I: http://www.safexs.nl
>E: freerkkalsbeek at safexs.nl

--
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