Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 314863 Details for
Bug 420473
net-analyzer/fail2ban-0.8.6 violates Date-Mailheader standards when using sendmail*-actions and having set non-english locale
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix bug
action.d.patch (text/plain), 3.40 KB, created by
Jan Kohnert
on 2012-06-10 11:40:18 UTC
(
hide
)
Description:
Patch to fix bug
Filename:
MIME Type:
Creator:
Jan Kohnert
Created:
2012-06-10 11:40:18 UTC
Size:
3.40 KB
patch
obsolete
>diff -ur action.d.old//sendmail.conf action.d//sendmail.conf >--- action.d.old//sendmail.conf 2012-06-10 13:23:07.000000000 +0200 >+++ action.d//sendmail.conf 2012-06-10 13:23:18.000000000 +0200 >@@ -12,7 +12,7 @@ > # Values: CMD > # > actionstart = printf %%b "Subject: [Fail2Ban] <name>: started >- Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"` >+ Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"` > From: Fail2Ban <<sender>> > To: <dest>\n > Hi,\n >@@ -25,7 +25,7 @@ > # Values: CMD > # > actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped >- Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"` >+ Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"` > From: Fail2Ban <<sender>> > To: <dest>\n > Hi,\n >@@ -48,7 +48,7 @@ > # Values: CMD > # > actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip> >- Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"` >+ Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"` > From: Fail2Ban <<sender>> > To: <dest>\n > Hi,\n >diff -ur action.d.old//sendmail-whois.conf action.d//sendmail-whois.conf >--- action.d.old//sendmail-whois.conf 2012-06-10 13:21:29.000000000 +0200 >+++ action.d//sendmail-whois.conf 2012-06-10 13:22:42.000000000 +0200 >@@ -12,7 +12,7 @@ > # Values: CMD > # > actionstart = printf %%b "Subject: [Fail2Ban] <name>: started >- Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"` >+ Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"` > From: Fail2Ban <<sender>> > To: <dest>\n > Hi,\n >@@ -25,7 +25,7 @@ > # Values: CMD > # > actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped >- Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"` >+ Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"` > From: Fail2Ban <<sender>> > To: <dest>\n > Hi,\n >@@ -48,7 +48,7 @@ > # Values: CMD > # > actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip> >- Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"` >+ Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"` > From: Fail2Ban <<sender>> > To: <dest>\n > Hi,\n >diff -ur action.d.old//sendmail-whois-lines.conf action.d//sendmail-whois-lines.conf >--- action.d.old//sendmail-whois-lines.conf 2012-06-10 13:25:52.000000000 +0200 >+++ action.d//sendmail-whois-lines.conf 2012-06-10 13:26:06.000000000 +0200 >@@ -12,7 +12,7 @@ > # Values: CMD > # > actionstart = printf %%b "Subject: [Fail2Ban] <name>: started >- Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"` >+ Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"` > From: Fail2Ban <<sender>> > To: <dest>\n > Hi,\n >@@ -25,7 +25,7 @@ > # Values: CMD > # > actionstop = printf %%b "Subject: [Fail2Ban] <name>: stopped >- Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"` >+ Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"` > From: Fail2Ban <<sender>> > To: <dest>\n > Hi,\n >@@ -48,7 +48,7 @@ > # Values: CMD > # > actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip> >- Date: `date -u +"%%a, %%d %%h %%Y %%T +0000"` >+ Date: `LANG=C date -u +"%%a, %%d %%h %%Y %%T +0000"` > From: Fail2Ban <<sender>> > To: <dest>\n > Hi,\n
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 420473
: 314863