[Logcheck-devel] Bug#253022: logcheck-database: Inaccurate fetchmail regexp

Wouter Koolen-Wijkstra wmkoolen at science.uva.nl
Sun Jun 6 16:54:23 UTC 2004


Package: logcheck-database
Version: 1.2.22
Severity: normal

/etc/logcheck/ignore.d.server/fetchmail contains the line:

fetchmail\[[0-9]+\]: +[0-9]+ +messages? for

When using fetchmail on IMAP servers, the syslog entries
look like (stuff between <> has been anonimicised):

Jun  6 18:45:54 <host> fetchmail[7617]: 1160 messages (1160 seen) for
<user> at <imapserver>.

So the regexp doesn't match, because of the seen mail count. A solution
would include an optional seen mail count, or skip the for keyword. I
cannot oversee the implications for other output of fetchmail, so I don't
know which solution is preferred.

You girls/guys are doing a great job,

Wouter Koolen-Wijkstra

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6optimized.1.0
Locale: LANG=C, LC_CTYPE=C

Versions of packages logcheck-database depends on:
ii  debconf [debconf-2.0]         1.4.25     Debian configuration management sy

-- debconf information:
* logcheck-database/rules-directories-note: 
  logcheck-database/standard-rename-note: 
  logcheck-database/conffile-cleanup: false





More information about the Logcheck-devel mailing list