Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 420473
Collapse All | Expand All

(-)action.d.old//sendmail.conf (-3 / +3 lines)
Lines 12-18 Link Here
12
# Values:  CMD
12
# Values:  CMD
13
#
13
#
14
actionstart = printf %%b "Subject: [Fail2Ban] <name>: started
14
actionstart = printf %%b "Subject: [Fail2Ban] <name>: started
15
              Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"`
15
              Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"`
16
              From: Fail2Ban <<sender>>
16
              From: Fail2Ban <<sender>>
17
              To: <dest>\n
17
              To: <dest>\n
18
              Hi,\n
18
              Hi,\n
Lines 25-31 Link Here
25
# Values:  CMD
25
# Values:  CMD
26
#
26
#
27
actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped
27
actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped
28
             Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"`
28
             Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"`
29
             From: Fail2Ban <<sender>>
29
             From: Fail2Ban <<sender>>
30
             To: <dest>\n
30
             To: <dest>\n
31
             Hi,\n
31
             Hi,\n
Lines 48-54 Link Here
48
# Values:  CMD
48
# Values:  CMD
49
#
49
#
50
actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip>
50
actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip>
51
            Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"`
51
            Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"`
52
            From: Fail2Ban <<sender>>
52
            From: Fail2Ban <<sender>>
53
            To: <dest>\n
53
            To: <dest>\n
54
            Hi,\n
54
            Hi,\n
(-)action.d.old//sendmail-whois.conf (-3 / +3 lines)
Lines 12-18 Link Here
12
# Values:  CMD
12
# Values:  CMD
13
#
13
#
14
actionstart = printf %%b "Subject: [Fail2Ban] <name>: started
14
actionstart = printf %%b "Subject: [Fail2Ban] <name>: started
15
              Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"`
15
              Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"`
16
              From: Fail2Ban <<sender>>
16
              From: Fail2Ban <<sender>>
17
              To: <dest>\n
17
              To: <dest>\n
18
              Hi,\n
18
              Hi,\n
Lines 25-31 Link Here
25
# Values:  CMD
25
# Values:  CMD
26
#
26
#
27
actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped
27
actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped
28
             Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"`
28
             Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"`
29
             From: Fail2Ban <<sender>>
29
             From: Fail2Ban <<sender>>
30
             To: <dest>\n
30
             To: <dest>\n
31
             Hi,\n
31
             Hi,\n
Lines 48-54 Link Here
48
# Values:  CMD
48
# Values:  CMD
49
#
49
#
50
actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip>
50
actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip>
51
            Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"`
51
            Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"`
52
            From: Fail2Ban <<sender>>
52
            From: Fail2Ban <<sender>>
53
            To: <dest>\n
53
            To: <dest>\n
54
            Hi,\n
54
            Hi,\n
(-)action.d.old//sendmail-whois-lines.conf (-3 / +3 lines)
Lines 12-18 Link Here
12
# Values:  CMD
12
# Values:  CMD
13
#
13
#
14
actionstart = printf %%b "Subject: [Fail2Ban] <name>: started
14
actionstart = printf %%b "Subject: [Fail2Ban] <name>: started
15
              Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"`
15
              Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"`
16
              From: Fail2Ban <<sender>>
16
              From: Fail2Ban <<sender>>
17
              To: <dest>\n
17
              To: <dest>\n
18
              Hi,\n
18
              Hi,\n
Lines 25-31 Link Here
25
# Values:  CMD
25
# Values:  CMD
26
#
26
#
27
actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped
27
actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped
28
             Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"`
28
             Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"`
29
             From: Fail2Ban <<sender>>
29
             From: Fail2Ban <<sender>>
30
             To: <dest>\n
30
             To: <dest>\n
31
             Hi,\n
31
             Hi,\n
Lines 48-54 Link Here
48
# Values:  CMD
48
# Values:  CMD
49
#
49
#
50
actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip>
50
actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip>
51
            Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"`
51
            Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"`
52
            From: Fail2Ban <<sender>>
52
            From: Fail2Ban <<sender>>
53
            To: <dest>\n
53
            To: <dest>\n
54
            Hi,\n
54
            Hi,\n

Return to bug 420473