- parse another bunch of postfix logs(#467378)
This commit is contained in:
parent
1fccf0129f
commit
f5906ed10b
14
logwatch-7.3.6-postfix4.patch
Normal file
14
logwatch-7.3.6-postfix4.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -up logwatch-7.3.6/scripts/services/postfix.pom logwatch-7.3.6/scripts/services/postfix
|
||||
--- logwatch-7.3.6/scripts/services/postfix.pom 2008-10-21 11:09:52.000000000 +0200
|
||||
+++ logwatch-7.3.6/scripts/services/postfix 2008-10-24 10:31:50.000000000 +0200
|
||||
@@ -769,8 +769,9 @@ while ( <> ) {
|
||||
#TD disconnect from mail.example.com[2001:dead:beef::1]
|
||||
$Totals{'Disconnection'}++;
|
||||
}
|
||||
- elsif (($host,$hostip,$reason) = ($p1 =~ /^connect to ([^[]*)\[($re_IP)\]: (.*)$/o)) {
|
||||
+ elsif (($host,$hostip,$reason) = ($p1 =~ /^connect to ([^[]*)\[($re_IP)\]:?[0-9]*: (.*)$/o)) {
|
||||
# all "connect to" messages indicate a problem with the connection
|
||||
+ #TD connect to mail.bues.ru[82.146.62.193]:25: Connection refused
|
||||
#TD connect to example.org[10.0.0.1]: Connection refused (port 25)
|
||||
#TD connect to mail.sample.com[10.0.0.1]: No route to host (port 25)
|
||||
#TD connect to sample.net[192.168.0.1]: read timeout (port 25)
|
||||
@ -1,7 +1,7 @@
|
||||
Summary: A log file analysis program
|
||||
Name: logwatch
|
||||
Version: 7.3.6
|
||||
Release: 30%{?dist}
|
||||
Release: 31%{?dist}
|
||||
License: MIT
|
||||
Group: Applications/System
|
||||
URL: http://www.logwatch.org/
|
||||
@ -49,6 +49,7 @@ Patch43: logwatch-7.3.6-postfix3.patch
|
||||
Patch44: logwatch-7.3.6-pam_unix3.patch
|
||||
Patch45: logwatch-7.3.6-init2.patch
|
||||
Patch46: logwatch-7.3.6-secure2.patch
|
||||
Patch47: logwatch-7.3.6-postfix4.patch
|
||||
|
||||
Requires: textutils sh-utils grep mailx
|
||||
Requires: perl(Date::Manip)
|
||||
@ -106,6 +107,7 @@ of the package on many systems.
|
||||
%patch44 -p1
|
||||
%patch45 -p1
|
||||
%patch46 -p1
|
||||
%patch47 -p1
|
||||
rm -f scripts/services/*.orig
|
||||
|
||||
%build
|
||||
@ -219,6 +221,9 @@ rm -rf %{buildroot}
|
||||
%doc License project/CHANGES
|
||||
|
||||
%changelog
|
||||
* Fri Oct 24 2008 Ivana Varekova <varekova@redhat.com> 7.3.6-31
|
||||
- parse another bunch of postfix logs(#467378)
|
||||
|
||||
* Tue Oct 21 2008 Ivana Varekova <varekova@redhat.com> 7.3.6-30
|
||||
- fix secure, pam_unix and init scripts
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user