Subversion Repositories configs

Rev

Rev 3 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 33
Line 5... Line 5...
5
# Users can override the defaults in sendmail-common.local
5
# Users can override the defaults in sendmail-common.local
6
 
6
 
7
[INCLUDES]
7
[INCLUDES]
8
 
8
 
9
after = sendmail-common.local
9
after = sendmail-common.local
-
 
10
 
-
 
11
[Definition]
-
 
12
 
-
 
13
# Option:  actionstart
-
 
14
# Notes.:  command executed once at the start of Fail2Ban.
-
 
15
# Values:  CMD
-
 
16
#
-
 
17
actionstart = printf %%b "Subject: [Fail2Ban] <name>: started on `uname -n`
-
 
18
              Date: `LC_TIME=C date +"%%a, %%d %%h %%Y %%T %%z"`
-
 
19
              From: <sendername> <<sender>>
-
 
20
              To: <dest>\n
-
 
21
              Hi,\n
-
 
22
              The jail <name> has been started successfully.\n
-
 
23
              Regards,\n
-
 
24
              Fail2Ban" | /usr/sbin/sendmail -f <sender> <dest>
-
 
25
 
-
 
26
# Option:  actionstop
-
 
27
# Notes.:  command executed once at the end of Fail2Ban
-
 
28
# Values:  CMD
-
 
29
#
-
 
30
actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped on `uname -n`
-
 
31
             Date: `LC_TIME=C date +"%%a, %%d %%h %%Y %%T %%z"`
-
 
32
             From: <sendername> <<sender>>
-
 
33
             To: <dest>\n
-
 
34
             Hi,\n
-
 
35
             The jail <name> has been stopped.\n
-
 
36
             Regards,\n
-
 
37
             Fail2Ban" | /usr/sbin/sendmail -f <sender> <dest>
-
 
38
 
-
 
39
# Option:  actioncheck
-
 
40
# Notes.:  command executed once before each actionban command
-
 
41
# Values:  CMD
-
 
42
#
-
 
43
actioncheck = 
-
 
44
 
-
 
45
# Option:  actionban
-
 
46
# Notes.:  command executed when banning an IP. Take care that the
-
 
47
#          command is executed with Fail2Ban user rights.
-
 
48
# Tags:    See jail.conf(5) man page
-
 
49
# Values:  CMD
-
 
50
#
-
 
51
actionban = 
-
 
52
 
-
 
53
# Option:  actionunban
-
 
54
# Notes.:  command executed when unbanning an IP. Take care that the
-
 
55
#          command is executed with Fail2Ban user rights.
-
 
56
# Tags:    See jail.conf(5) man page
-
 
57
# Values:  CMD
-
 
58
#
-
 
59
actionunban = 
10
 
60
 
11
[Init]
61
[Init]
12
 
62
 
13
# Recipient mail address
63
# Recipient mail address
14
#
64
#