Training frustration
David Relson
relson at osagesoftware.com
Sat Feb 9 20:31:45 CET 2008
On Sat, 9 Feb 2008 13:05:07 +0000
Anne Wilson wrote:
> I'm tearing my hair, unable to get bogotrain to work satisfactorily.
> I get lots of messages like
>
> /usr/share/bogofilter/contrib/contrib/trainbogo.sh: line
> 237: /home/anne/Maildir/.INBOX.bogotrain_spam/cur//1201357651.P12941Q535.borg2.lydgate.net:2,S:
> No such file or directory
>
> I presume it's the double '/' before the message number. How can I
> fix this?
>
> Anne
Hi Anne,
A couple of environment questions: What version of bogofilter? What
distro? What shell?
Exactly how (what command) are you using to run trainbogo.sh? You can
make trainbogo.sh print each command by adding " -v" at the end of the
#! line.
The double slash in the path doesn't matter with bash (see below).
What shell (and version) is your /bin/sh ?
relson at osage ~/Mail $ ls -l /home/relson/Mail/inbox/55702
-rw------- 1 ... 4231 Sep 10 08:51 /home/relson/Mail/inbox/55702
relson at osage ~/Mail $ ls -l /home/relson/Mail/inbox//55702
-rw------- 1 ... 4231 Sep 10 08:51 /home/relson/Mail/inbox//55702
Lastly, what is line 237 in _your_ copy of trainbogo.sh. My copy's 237
is:
bogotest=$(${bf} -v < "${fname}")
Off-hand it looks correct which is what makes me question which shell
you're using.
HTH,
David
More information about the Bogofilter
mailing list