# Configuration file for MailScanner E-Mail Virus Scanner in DansGuardian # This file assumes everything is in the default locations provided # by the MailScanner and RedHat 6.2 and upwards. # # Note: If your directories are symlinked (soft-linked) in any way, # please put their *real* location in here, not a path that # includes any links. You may get some very strange error # messages from some of the virus scanners if you don't. # Set where to store infected files (if they are kept) Quarantine Dir = /var/www/html/dgvirus/quarantine # Set where the files are downloaded to before they are scanned Download Dir = /tmp/dgvirus # Store status info by IP Address (ip) or User Name (uname) Status Info Grouped By = uname #Status Info Grouped By = ip # What syslog "facility" should we use for logging? # If that means nothing to you, then leave this option alone or # else read "man syslog.conf" before making any changes. Log Facility = user # Which Virus Scanning package to use: # sophos from www.sophos.com, or # mcafee from www.mcafee.com, or # command from www.command.co.uk, or # kaspersky from www.kaspersky.com, or # inoculate from www.cai.com/products/inoculateit.htm, or # inoculan from ftp.ca.com/getbbs/linux.eng/inoctar.LINUX.Z, or # nod32 from www.nod32.com, or # f-secure from www.f-secure.com, or # f-prot from www.f-prot.com, or # panda from www.pandasoftware.com, or # rav from www.ravantivirus.com, or # antivir from www.antivir.de # # Note: If you want to use multiple virus scanners, then this should be a # comma-separated list of virus scanners. For example: # Virus Scanner = sophos, f-prot # Virus Scanner = f-prot # Where the Virus scanner is installed. This is the command needed to run it. # Look in /usr/lib/DGVirus for a list of available wrapper scripts. # # Note: If you want to use multiple virus scanners, then this should be a # comma-separated list of commands, **in the same order** as they are listed # in the "Virus Scanner" keyword just above. For example: # Sweep = /usr/lib/DGVirus/sophos-wrapper, /usr/lib/DGVirus/f-prot-wrapper # Sweep = /usr/lib/DGVirus/f-prot-wrapper # The maximum length of time the commercial virus scanner is allowed to run # for 1 batch of messages (in seconds). Virus Scanner Timeout = 300 # Set email address of who to notify about any infections found. # Should put your full domain name here too, # e.g. postmaster@your.domain.com Local Postmaster = postmaster # Set email domain to use when notifying users of an infected file. # This is just the domain name part, after the @ # e.g. your.domain.com Mail Domain = your.domain.com # Set the address of the Mail Server to send notifications through. # e.g. mail.xyz.com Mail Server = 127.0.0.1 # Specify the type of notification email you want to get. # text or html (text/plain or text/html) Mail Type = text/plain # Set what to do with infected files. # keep ==> Store under the "Quarantine Dir" # delete ==> Just delete them #Action = delete Action = keep # # Advanced Features # ================= # # Don't bother changing anything below this unless you really know what # you are doing. # # Set Debug to 1 to stop it running as a daemon # and produce more verbose output Debug = 0 # Where to put the virus scanning engine lock files. # These lock files are used between MailScanner and the virus signature # "autoupdate" scripts, to ensure that they aren't both working at the # same time (which could cause MailScanner to let a virus through). Lock File Dir = /tmp # Minimum acceptable code stability status -- if we come across code # that's not at least as stable as this, we barf. # This is currently only used to check that you don't end up using untested # virus scanner support code without realising it. # Levels used are: # none - there may not even be any code. # unsupported - code may be completely untested, a contributed dirty hack, # anything, really. # alpha - code is pretty well untested. Don't assume it will work. # beta - code is tested a bit. It should work. # supported - code *should* be reliable. # # Don't even *think* about setting this to anything other than "beta" or # "supported" on a system that receives real mail until you have tested it # yourself and are happy that it is all working as you expect it to. # Don't set it to anything other than "supported" on a system that could # ever receive important mail. Minimum Code Status = supported