virusregexp = .*: (.*) FOUNDscanner = /usr/bin/clamdscan --no-summary scannertype = basic| ########################################################################## # # # P3Scan Version 1.0 # # default configuration file # # all params are set to default # # # ########################################################################## # # PID File # where to write a pid-file # default: /var/run/p3scan/p3scan.pid # pidfile = /var/run/p3scan/p3scan.pid # # Max Childs # 最大連線的行程 # default: 10 # maxchilds = 10 # # IP Address # The IP Address we listen on default: 0.0.0.0 (any address) ip = 192.168.0.253 # default: 8110 # #port = 8110 # # Username # # The username the daemon should run as. Takes no effect when you # start as a non-root user. # default: mail # user = mail # # Notify Directory # Create notification mails in <DIR>. Also used for temporary storage. # default: /var/spool/p3scannotify #notifydir = /var/spool/p3scannotify # # Virus Directory # # 感染病毒時暫存的目錄 # # default: /var/spool/p3scan # # virusdir = /var/spool/p3scan # # Just Delete # # 感染病毒的動作 # # default: Keep infected messages in Virus Directory # #justdelete # # Bytes Free # # The number of KB's there must be free before processing any mail. # If there is less than this amount, p3scan will terminate any # connections until the problem is resolved. # # default: bytesfree = 0 (disable checking for space) # Sample: If you want to ensure 100MB are free #bytesfree = 100000 # default: basic # scannertype = basic scanner = /usr/bin/clamscan --no-summary # # deMIME Setting # # Uncomment this if we should parse all MIME-sections instead of passing # the as-it-is mail to the scanner. # # default: <no demime> demime virusregexp = .*: (.*) FOUND # Enable Spam checking # # If set, will scan for Spam before scanning for a virus. # # P3scan has been tested with Mail::SpamAssassin v2.6 and it # uses the interface spamd/spamc. # # You should start spamd before running p3scan. For example: # "spamd -L -d" (run in local mode only, daemonize) # man spamd for more information. # # default: no checking of spam # checkspam # # Mail::SpamAssassin # # Where to find spamc, the link to the SpamAssassin daemon spamd. # # spamcheck = /usr/bin/spamc # # Rename Attachments # # If renattach is installed and this option is un-commented, we # will execute renattach to rename dangerous attachments. # (See README for more information) # # default: none # # renattach = /usr/local/bin/renattach # # Overwrite (disable) HTML # # If a person views an HTML message, not only can the client # download pictures automatically, it enables someone viewing # the remote log file to confirm the email address is valid # make it "worth" keeping/selling, etc... # # default: do not disable HTML # #overwrite # #Debug # # Turn on debugging. # # default: off # debug # # Quiet # # Disable reporting of normal operating messages. Only report errors # or critical information. # # default: display all less debug info # quiet # # Template # # Where to look for an email-template when our own mail has to be send # instead of an infected mail. That file has to be exist, otherwise # p3scan will send an RFC unconform -ERR and closes the connections. # The email-template should be a complete email, that means a # mail-header (to, from, subject, date) , specify also content-type, and # so on. Also the leading dot is necessary (just a dot and no more in # the last line). You can use some key- words which will be replaced # when sending, e.g. %MAILDATE%. # default: /etc/p3scan/p3scan.mail # # template = /etc/p3scan/p3scan.mail # END of configuration |