[hendry at cs.helsinki.fi: Bug#232830: bogofilter: Parse error in mailfilter example]

Clint Adams schizo at debian.org
Fri Feb 20 15:35:43 CET 2004


The slash is still missing in 0.17.1

----- Forwarded message from Kai Hendry <hendry at cs.helsinki.fi> -----

Date: Sun, 15 Feb 2004 11:03:17 +0200
From: Kai Hendry <hendry at cs.helsinki.fi>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: Bug#232830: bogofilter: Parse error in mailfilter example

Package: bogofilter
Version: 0.17.0-1
Severity: normal


hendry at bilbo:~$ cp /usr/share/doc/bogofilter/examples/mailfilter.example .mailfilter
hendry at bilbo:~$ maildrop -d hendry < /tmp/amessage 
.mailfilter(44): Syntax error.


You might also want to consider ripping out BOGOFILTER_DIR, as the default
~/.bogofilter is more applicable in a Debian user's system.

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

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

-- no debconf information


--- mailfilter.orig	2004-02-15 10:58:17.000000000 +0200
+++ .mailfilter	2004-02-15 10:58:52.000000000 +0200
@@ -41,7 +41,8 @@
 # teach bogofilter about it (avoiding to register spamassassin markup)
 # and store it to spam-spamassassin
 xfilter "/usr/bin/spamc"
-if (/^X-Spam-Status: YES) {
+if (/^X-Spam-Status: YES/) 
+{
     cc "|/usr/bin/spamassassin -d -L|bogofilter -s"
     to "spam-spamassassin"
 }


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




More information about the bogofilter-dev mailing list