Bug#778905: logcheck: logging changes in spamd

2024-06-01 Thread Richard Lewis
control: tags  -1 + moreinfo
thanks

On Sat, 21 Feb 2015 14:57:15 + Andrew Gallagher  wrote:

> spamd no longer suffixes "(closed before headers)" with "at /usr/sbin/spamd 
> line N"
>
> Updated rule attached. This may also apply to other errors that I haven't 
> been able to test yet.

It's a shame no-one replied to this bug fro 2015

The attached file contains:
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ spamd\[[0-9]+\]:( spamd:)? bad
protocol: header error: \(closed before headers\)( at /usr/sbin/spamd
line 2001.)?$

This looks problematic because
- if the suffix is no longer produced the rule should not include it as optional
- why is 2001 hardcoded?

If there is still interest in adding/updating rules we'd need an
update to confirm what the rules should look like in 2024,



Bug#778905: logcheck: logging changes in spamd

2015-02-21 Thread Andrew Gallagher
Package: logcheck
Version: 1.3.15
Severity: normal
Tags: patch

spamd no longer suffixes "(closed before headers)" with "at /usr/sbin/spamd 
line N"

Updated rule attached. This may also apply to other errors that I haven't been 
able to test yet.

-- System Information:
Debian Release: 7.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.14.5-x86-linode61 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages logcheck depends on:
ii  adduser 3.113+nmu3
ii  cron3.0pl1-124
ii  lockfile-progs  0.1.17
ii  logtail 1.3.15
ii  mime-construct  1.11
ii  postfix [mail-transport-agent]  2.9.6-2
ii  rsyslog [system-log-daemon] 5.8.11-3+deb7u2

Versions of packages logcheck recommends:
ii  logcheck-database  1.3.15

Versions of packages logcheck suggests:
pn  syslog-summary  

-- Configuration Files:
/etc/logcheck/logcheck.conf changed:
REPORTLEVEL="server"
SENDMAILTO="r...@andrewg.com"
FQDN=1


-- debconf information:
  logcheck/changes:
* logcheck/install-note:
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ spamd\[[0-9]+\]:( spamd:)? bad protocol: 
header error: \(closed before headers\)( at /usr/sbin/spamd line 2001.)?$