Add mail-headers patch (rhbz#811185)
This commit is contained in:
parent
e3fbb90c39
commit
71e34720e0
12
logwatch-mail-headers.patch
Normal file
12
logwatch-mail-headers.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- scripts/logwatch.orig 2012-04-25 08:37:33.000000000 +0200
|
||||
+++ scripts/logwatch.pl 2012-05-03 13:42:09.323857620 +0200
|
||||
@@ -1147,6 +1147,9 @@ sub initprint {
|
||||
} else {
|
||||
print OUTFILE "Subject: Logwatch for $Config{'hostname'} (${OStitle})\n";
|
||||
}
|
||||
+ #Add headers to recognize automatically generated email
|
||||
+ print OUTFILE "Auto-Submitted: auto-generated\n";
|
||||
+ print OUTFILE "Precedence: bulk\n";
|
||||
#Add MIME
|
||||
$out_mime = "MIME-Version: 1.0\n";
|
||||
#Config{encode} switch
|
||||
@ -29,6 +29,8 @@ Patch10: logwatch-secure-grammar.patch
|
||||
Patch11: logwatch-dovecot-proxy.patch
|
||||
# not yet in upstream
|
||||
Patch12: logwatch-secure-update.patch
|
||||
# not yet in upstream
|
||||
Patch13: logwatch-mail-headers.patch
|
||||
Requires: textutils sh-utils grep mailx
|
||||
Requires: perl(Date::Manip)
|
||||
BuildArchitectures: noarch
|
||||
@ -53,6 +55,7 @@ of the package on many systems.
|
||||
%patch10 -p1
|
||||
%patch11 -p0
|
||||
%patch12 -p0
|
||||
%patch13 -p0
|
||||
rm -f scripts/services/*.orig
|
||||
|
||||
%build
|
||||
@ -147,6 +150,7 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
|
||||
* Fri Apr 27 2012 Jan Synáček <jsynacek@redhat.com> - 7.4.0-11.20120425svn100
|
||||
- Add dovecot-proxy patch (rhbz#812883)
|
||||
- Add secure-update patch (rhbz#809314)
|
||||
- Add mail-headers patch (rhbz#811185)
|
||||
|
||||
* Wed Apr 25 2012 Jan Synáček <jsynacek@redhat.com> - 7.4.0-10.20120425svn100
|
||||
- Update to revision 100
|
||||
|
||||
Loading…
Reference in New Issue
Block a user