[hendry at cs.helsinki.fi: Bug#232830: bogofilter: Parse error in mailfilter example]
David Relson
relson at osagesoftware.com
Fri Feb 20 15:49:44 CET 2004
On Fri, 20 Feb 2004 09:35:43 -0500
Clint Adams wrote:
> 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
...[snip]...
> 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.
Both the procmail and mailfilter examples have the same BOGOFILTER_DIR
setting. It's oriented towards a mail server with a shared wordlist,
rather than having wordlists in each users home directory, i.e.
~/.bogofilter. I trust that this is acceptable to you :-)
> --- 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"
> }
I've corrected this and CVS has been updated.
Thanks for reporting these issues.
David
More information about the bogofilter-dev
mailing list