Re: Training frustration

David Relson <[email protected]>
Newsgroups gmane.mail.bogofilter.general
Organization Osage Software Systems, Inc.
Message-ID <[email protected]>
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@osage ~/Mail $ ls -l /home/relson/Mail/inbox/55702
-rw------- 1 ... 4231 Sep 10 08:51 /home/relson/Mail/inbox/55702 

relson@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
_______________________________________________
Bogofilter mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.