Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 316666 Details for
Bug 462174
logwatch fails to parse some postfix logfile lines
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
an example patch
postfix.diff (text/plain), 2.61 KB, created by
Wolfgang Rupprecht
on 2008-09-13 13:00:00 UTC
(
hide
)
Description:
an example patch
Filename:
MIME Type:
Creator:
Wolfgang Rupprecht
Created:
2008-09-13 13:00:00 UTC
Size:
2.61 KB
patch
obsolete
>diff -u /usr/share/logwatch/scripts/services/postfix.\~1\~ /usr/share/logwatch/scripts/services/postfix >--- /usr/share/logwatch/scripts/services/postfix.~1~ 2008-06-10 05:24:06.000000000 -0700 >+++ /usr/share/logwatch/scripts/services/postfix 2008-09-13 05:47:21.000000000 -0700 >@@ -1530,8 +1530,9 @@ > # end of $re_QID section > > # see also ConnectionLost in $re_QID section >- elsif ( ($reason,$host,$hostip) = ($p1 =~ /lost connection (after [^ ]*) from ([^[]*)\[($re_IP|unknown)\]$/o )) { >+ elsif ( ($reason,$host,$hostip) = ($p1 =~ /lost connection (after [^ ]*) (\(\d+ bytes\) )?from ([^[]*)\[($re_IP|unknown)\]$/o )) { > unless ($hostip =~ /unknown/) { >+ #TD lost connection after DATA (0 bytes) from mail.example.com[192.168.0.1] > #TD lost connection after CONNECT from mail.example.com[192.168.0.1] > $Totals{'ConnectionLost'}++; > $Counts{'ConnectionLost'}{"\u$reason"}{formathost($hostip,$host)}++; >@@ -1570,7 +1571,7 @@ > } > > # see also TimeoutInbound in $re_QID section >- elsif ( ($reason,$host,$hostip) = ($p1 =~ /^timeout (after [^ ]*) from ([^[]*)\[($re_IP)\]$/o)) { >+ elsif ( ($reason,$host,$hostip) = ($p1 =~ /^timeout (after [^ ]*) (\(\d+ bytes\) )?from ([^[]*)\[($re_IP)\]$/o)) { > #TD timeout after RSET from example.com[192.168.0.1] > $Totals{'TimeoutInbound'}++; > $Counts{'TimeoutInbound'}{"\u$reason"}{formathost($hostip,$host)}++; >@@ -1593,7 +1594,7 @@ > > ### smtpd_tls_loglevel >= 1 > # Server TLS messages >- elsif ( ($status,$host,$hostip,$type) = ($p1 =~ /^(?:(Trusted|Untrusted) )?TLS connection established from ([^[]+)\[($re_IP)\]: (.*)$/o )) { >+ elsif ( ($status,$host,$hostip,$type) = ($p1 =~ /^(?:(Trusted|Untrusted|Anonymous) )?TLS connection established from ([^[]+)\[($re_IP)\]: (.*)$/o )) { > #TD TLS connection established from example.com[192.168.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits) > # Postfix 2.5+: status: Untrusted or Trusted > #TD Untrusted TLS connection established from example.com[192.168.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits) >@@ -1625,6 +1626,11 @@ > $Totals{'TlsUnverified'}++; > $Counts{'TlsUnverified'}{$cert}++; > >+ } elsif ( ($cert) = ($p1 =~ /: Untrusted: (subject_CN=.*)/)) { >+ #TD Untrusted: subject_CN=EXAMPLE-MAIL, issuer=EXAMPLE-MAIL, >+ $Totals{'TlsUnverified'}++; >+ $Counts{'TlsUnverified'}{$cert}++; >+ > } elsif ( ($p1 =~ m/(lookup )?table ([^ ]+ )?has changed -- (restarting|exiting)$/)) { > #TD table hash:/etc/postfix/helo_checks has changed -- restarting > $Totals{'TableChanged'}++; > >Diff finished. Sat Sep 13 05:47:55 2008
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 Raw
Actions:
View
Attachments on
bug 462174
: 316666 |
320353