Bug 645962
| Summary: | Logwatch does not matches "deliver" in dovecot log | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adrien Bustany <adrien-xx-redhatbz> |
| Component: | logwatch | Assignee: | Karel Klíč <kklic> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 13 | CC: | kklic, msouth, richardfearn, rvokal, varekova |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-04 10:18:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Adrien Bustany
2010-10-23 09:46:29 UTC
Hello, could you, please, try with the latest Rawhide version of the package? logwatch-7.3.6-59.20110113svn22 It can be downloaded here: http://koji.fedoraproject.org/koji/buildinfo?buildID=213986 It would be useful to know if it's already fixed in Rawhide, so someone can just backport the fix, instead of writing something new. Thank you in advance. Don't know if this is the same problem that OP had, but upstream svn50 is broken--doesn't handle directories with whitespace in name. Most of my mail goes to "Junk Email" (with space), so it doesn't match the regex.
Pulled rawhide build, created
logwatch-7.4.0-1.20110328svn50.fc14.noarch
Patch to /usr/share/logwatch/scripts/services/dovecot (replace "\S+" with ".*")
150c150
< } elsif ( ($User, $Mailbox) = ( $ThisLine =~ /^$dovecottag (?:lda|deliver)\((.*)\): msgid=.*: saved mail to (\S+)/ ) ) {
---
> } elsif ( ($User, $Mailbox) = ( $ThisLine =~ /^$dovecottag (?:lda|deliver)\((.*)\): msgid=.*: saved mail to (.*)/ ) ) {
154c154
< } elsif ( ($User, $Mailbox) = ( $ThisLine =~ /^$dovecottag (?:lda|deliver)\((.*)\): sieve: msgid=.*: stored mail into mailbox '(\S+)'/ ) ) {
---
> } elsif ( ($User, $Mailbox) = ( $ThisLine =~ /^$dovecottag (?:lda|deliver)\((.*)\): sieve: msgid=.*: stored mail into mailbox '(.*)'/ ) ) {
158c158
< } elsif ( ($User, $Mailbox) = ( $ThisLine =~ /^$dovecottag lmtp\(\d+, (.*)\): [^:]+: msgid=.*: saved mail to (\S+)/ ) ) {
---
> } elsif ( ($User, $Mailbox) = ( $ThisLine =~ /^$dovecottag lmtp\(\d+, (.*)\): [^:]+: msgid=.*: saved mail to (.*)/ ) ) {
Michael, thank you. Your patch was added in logwatch-7.4.0-2.20110328svn50.fc16. logwatch-7.3.6-68.20110203svn25.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/logwatch-7.3.6-68.20110203svn25.fc15 logwatch-7.3.6-68.20110203svn25.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping works with logwatch-7.4.0-5.20110328svn50.fc16.noarch (that you can install without problems on Fedora 14) |