All Emails tagged as {VIRUS}

Mark Sapiro mark at msapiro.net
Sun Apr 7 00:21:59 UTC 2019


On 4/6/19 5:02 PM, Sebastiano Dante Alighieri wrote:
> 
> i think I've figured out where that error was coming from -
> MailScanner.conf:1422
> 
> image.png
> 
> fixed that and now MailScanner Lint returns nothing / two blank lines.


What did you fix? In your graphic you highlighted line 1423

# These can also be the filenames of rulesets.

That line is and the following two are actually lines 1450-1452 in the
distributed MailScanner.conf.

Lines 1422 through 1450 should be

> Stored Bad Filename Message Report = %report-dir%/stored.filename.message.txt
> Stored Virus Message Report = %report-dir%/stored.virus.message.txt
> Stored Size Message Report = %report-dir%/stored.size.message.txt
> 
> # Set where to find the message text sent to users explaining about the
> # attached disinfected documents.
> # This can also be the filename of a ruleset.
> Disinfected Report = %report-dir%/disinfected.report.txt
> 
> # Set where to find the HTML and text versions that will be added to the
> # end of all clean messages, if "Sign Clean Messages" is set.
> # These can also be the filenames of rulesets.
> Inline HTML Signature = %report-dir%/inline.sig.html
> Inline Text Signature = %report-dir%/inline.sig.txt
> 
> # When using an image in the signature, there are 2 filenames which need
> # to be set. The first is the location in this server's filesystem of the
> # image file itself. The second is the name of the image as it is stored in
> # the attachment. The HTML version of the signature will refer to this
> # second name in the HTML <img> tag.
> # Note: the filename extension will be used as the MIME subtype, so a GIF
> # Note: the filename extension will be used as the MIME subtype, so a GIF
> # image must end in ".gif" for example. (.jpg ==> "jpeg" as a special case)
> # See "Attach Image To Signature" for notes on how to use this.
> Signature Image Filename = %report-dir%/sig.jpg
> Signature Image <img> Filename = signature.jpg
> 
> # Set where to find the HTML and text versions that will be inserted at
> # the top of messages that have had viruses removed from them.
> # These can also be the filenames of rulesets.


Everything after

Stored Bad Filename Message Report = %report-dir%/stored.fi

up to

# the top of messages that have had viruses removed from

is missing. You need to get
<https://github.com/MailScanner/v5/blob/master/common/etc/MailScanner/MailScanner.conf>
from GitHub and either use it as is or compare it to yours to see what
you need to fix.

sudo MailScanner --lint

should return a report of 30 lines or so.


-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list