Make e-mail notification optional for both virus found and file creat/mod.
[inoclam.git] / inoclam.conf
blob5ca8ff12868866bad34ca1015047475d04bc74aa
1 # inoclam - Inotify+ClamAV virus scanner
2 # Copyright (C) 2007 Vermont Department of Taxes
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18 # Contributor(s):
19 #   Tom Cort <tom.cort@state.vt.us>
20 #   Matt Gagne <matt.gagne@state.vt.us>
22 ##########################################################################
24 ##  BASE SETTINGS
26 ##########################################################################
28 # Set this to the directory that inoclam should watch. inoclam will
29 # recursively watch all of the subdirectories as well.
30 watch_dir = /path/to/directory
32 ##########################################################################
34 ##  VIRUS DETECTION SETTINGS
36 ##########################################################################
38 # Allow or deny permission to automatically delete infected files by
39 # setting this to true or false.
40 virus_removal_enabled = true
42 ##########################################################################
44 ##  VIRUS DETECTED E-MAIL NOTIFICATION SETTINGS
46 ##########################################################################
48 # Enable or disable e-mail notifications when a virus is detected by
49 # setting this to true or false.
50 smtp_enabled_virus = true
52 # The subject line used for virus found e-mail notifications.
53 smtp_subject_virus = "[inoclam] Virus Detected"
55 ##########################################################################
57 ##  FILE CREATE/CHANGE E-MAIL NOTIFICATION SETTINGS
59 ##########################################################################
61 # Enable or disable e-mail notifications when a file is created or
62 # changed by setting this to true or false.
63 smtp_enabled_file = false
65 # The subject line used for file change e-mail notifications.
66 smtp_subject_file = "[inoclam] File Create/Change"
68 ##########################################################################
70 ##  E-MAIL SYSTEM SETTINGS
72 ##########################################################################
74 # The hostname of the SMTP server you wish to use for e-mail notifications
75 smtp_host = "localhost"
77 # The TCP port to connect to for e-mail notifications
78 smtp_port = 25
80 # The address to send e-mail notifications to
81 smtp_to = "root@localhost"
83 # The return address for e-mail notifications
84 smtp_from = "root@localhost"