[cbiedl at gmx.de: Bug#264502: bogofilter: '-y date' option underdocumented and not fool-proof]

Clint Adams schizo at debian.org
Mon Aug 9 15:52:42 CEST 2004


----- Forwarded message from Christoph Biedl <cbiedl at gmx.de> -----

Date: Mon, 09 Aug 2004 08:06:57 +0200
From: Christoph Biedl <cbiedl at gmx.de>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: Bug#264502: bogofilter: '-y date' option underdocumented and not fool-proof

Package: bogofilter
Version: 0.92.4-1
Severity: normal

bogofilter has an '-y date' option to use the given date instead of
current time for registering an e-mail.

Two problems:
1. This option is badly documented i.e. a description of a valid date
format is missing. 

Please add a simple example in the manpage for clarification
e.g. '-y 20040809'.

2. Using the %Y-%m-%d date format does NOT generate an error message but
is parsed incorrectly. This is annoying after training a huge collection
of on a per-day base but learning afterwards that the messages have been
considered to be back somewhat in 1999.

Please: bogofilter should either understand for date formats or complain
about date formats it does not understand.

How to repeat:
| $ bogofilter -s -d /tmp -y 20040809 <some-message
%Y%m%d works                 ^^^^^^^^
| $ bogofilter -s -d /tmp <some-message
| $ bogoutil -d /tmp/wordlist.db | head -5
| $200 1 0 20040809
           ^^^^^^^^
| .MSG_COUNT 1 0 20040809
| .WORDLIST_VERSION 20040500 0 20040809
| Arial 1 0 20040809
| Black 1 0 20040809

| $ rm /tmp/wordlist.db 
| $ bogofilter -s -d /tmp -y 2004-08-09 <some-message
%Y-%m-%d does not            ^^^^^^^^^^
| $ bogoutil -d /tmp/wordlist.db | head -5
| $200 1 0 19990213
           ^^^^^^^^
| .MSG_COUNT 1 0 19990213
| .WORDLIST_VERSION 20040500 0 19990213
| Arial 1 0 19990213
| Black 1 0 19990213


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=C

Versions of packages bogofilter depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-16    Berkeley v4.2 Database Libraries [
ii  libgsl0                     1.5-2        The GNU Scientific Library (GSL) -

-- no debconf information

----- End forwarded message -----



More information about the bogofilter-dev mailing list