Claws Mail -- can't run bogofilter SOLVED

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

Claws Mail -- can't run bogofilter SOLVED

#1 Post by Subito Piano »

Hi all --

I just switched from Sylpheed to Claws-Mail. I love being able to easily utilize bogofilter, but I'm often getting the error message

Code: Select all

The Bogofilter plugin couldn't filter a message.  The command 'bogofilter -T -b' couldn't be run.
I couldn't find any logs on my computer nor any relevant info on the 'net. Does anyone have thoughts on this?
Last edited by Subito Piano on Sun 07 Jun 2020, 03:57, edited 2 times in total.
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

Nothing here helps?
https://bogofilter.sourceforge.io/
Seems to be a lot of good info, in the FAQ, on how to actually use this.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#3 Post by Subito Piano »

Yeah, I saw that before I submitted this, so I checked again. I think part of the issue is that the bogofilter plugin is somehow embedded into Claws-Mail in a way that one can't manipulate it. The command "bogofilter -h" results is the message "bogofilter: command not found." I searched through my entire computer (i.e., system and personal files) and there was not a single executable called bogofilter. Searching through the Claws-Mail folders didn't yield anything helpful.

Plus, I found what the "-T" and "-b" options are for, but that doesn't help, because (not to be redundant here) I can't directly run a bogofilter command, only through Claws-Mail; and if I could run it, that wouldn't help b/c it's already try to run those two commands but cannot, due to something in the emails. That's the issue: what in the emails is causing that?

I recall seeing something earlier about illegal characters tripping up bogofilter. Maybe it's a unicode character. (I've seen THAT mess up an email before, but that was through a paid commercial mass-communication program, not through simple emailing.) Maybe if I received a single email that caused that message to appear I could look through it....IDK if it would be anything I'd notice though.

So -- still in the dark. It happens regularly but not all the time. I might disable bogo and try SpamAssassin, it's not like I get hundreds of emails each day so that my system would bog down....
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

Was it claws-mail-bogofilter you installed and does "bogofilter.so" reside in /usr/lib/claws-mail/plugins? I'm under the impression the bogofilter.so library is used solely by Claws Mail itself. Maybe follow the link I supplied and have it process a few emails before deciding whether it's doing what it's supposed to.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#5 Post by Subito Piano »

Yes, I installed claws-mail-bogofilter_3.13.2 via PPM, and bogofilter.so is located in /usr/lib/claws-mail/plugins.

I'm not saying it doesn't work, I believe it is working -- but occasionally it can't process an email for some reason, IDK why....

[EDIT: I tried sending myself a GTUBE email (spam test email) but it didn't even come through. Probably, it was detected by my ISP/email service and trashed before getting near my inbox.]
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#6 Post by bigpup »

The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#7 Post by Subito Piano »

Thanks, bigpup. I saw that as well. There doesn't seem to be a lot of documentation, not for its integration in Claws-Mail, anyway. :?
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#8 Post by bigpup »

I am wondering if what you got from PPM is really what you needed for bogofilter.

I know it said for Claws-Mail, but the Claws-Mail help page says to actually get bogofilter from here:
https://www.bogofilter.org/

That PPM bogofilter is probably compiled for Ubuntu and may not be compatible for Puppy Linux. At best, Puppy Linux could be missing a needed dependency.

Could check bogofilter in Check Dependencies Installed Pkg program.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#9 Post by Subito Piano »

Good thought. Fixing my son's brakes today, I'll look into it and post back. Thanks!
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#10 Post by Subito Piano »

First, i checked, no missing dependencies.

Okay -- so reading through the Claws plugin page, under bogofilter it states:
Enables the scanning of incoming mail received from a POP, IMAP, or LOCAL account using Bogofilter. It can optionally delete mail identified as spam or save it to a designated folder. Bogofilter is a pure Bayesian filter, therefore it has better speed performance than SpamAssassin but might catch less spam. Bogofilter is available from http://bogofilter.sourceforge.net/
Wait a second -- why is it telling me bogofilter is AVAILABLE somewhere?? OH! I get it!! I'm supposed to download bogofilter separately, the plugin doesn't include bogofilter -- or does it? I checked PPM -- yes, I downloaded bogofilter, probably it downloaded with the bogofilter plugin when i downloaded that...but it's a dummy package -- ??!??!!

So -- i trucked on over to pkgs.org to download the "real" bogofilter, and find that the only package for Xenial ubuntu and for Jessie is....a dummy package. (?!??!?!?! AGAIN.) BUT -- there is a bogofilter meta-package available for Bionic Beaver...so I tried it. It downloaded and installed without complaint. Closed out Claws and restarted, sent myself a very junky-looking mail, and....

...I got the same message. Bogofilter can't process.

Yii..... Image
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#11 Post by bigpup »

Why are you trying to get it from every place but the source?
http://bogofilter.sourceforge.net/
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#12 Post by Subito Piano »

Umm... :roll: probably b/c I've only done a "make install" once or twice, and not in Puppy...

So yeah, looking at the readme, there are things I do not know, such as how to configure it correctly, if I can easily remove it, why I can't "make all check" as per the readme file....kind of embarrassing, really. On the one hand I need to put my "bog boy" pants on, on the other hand, yii, there's only so much time...

I'm making a backup of my system now, then I'll give it a whirl and report back. :?
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#13 Post by bigpup »

I understand!
My luck at compiling a good working program is not that good.
I am not being that much help.
I do not use Claws-Mail and have never used Bogofilter.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#14 Post by Subito Piano »

Thanks -- you make me feel less stupid! :D Well, stupid is the wrong word, but you know what I mean.
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#15 Post by bigpup »

That Claws-Mail help page, seems to indicate it is simple to use.
But, it seems, they are not telling you some needed information.

Maybe edit the first post subject and add claws-mail to it, so the tittle of the topic lets people know, this is a Claws-mail thing.
Maybe someone, that uses it, will come along and help you.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#16 Post by Subito Piano »

Thanks, did that, let's see if that draws any comments.

That said, I gave up and installed SpamAssassin. Interesting, the first thing IT said was to get the spamd daemon running, which I did. But I found nothing on the web about a daemon for Bogo.

There is also the BSFilter for Claws. I may give that a spin after working with SpamAssassin, then post back here in maybe a week or two with results to inform posterity.... :wink:

[EDIT: I had to symlink /usr/sbin/spamd to ~/Startup to get it to run on bootup. Once spamd was started, I noticed a message in the bottom of Claws-Mail that it indeed was doing its job during receipt of a message.]
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
User avatar
festus
Posts: 235
Joined: Wed 14 Jan 2015, 19:10

bogofilter-1.2.5

#17 Post by festus »

Hello, Subito Piano

I compiled bogofilter-1.2.5 for bionicpup32, yesterday, and uploaded it here for download>
https://www107.zippyshare.com/v/DcJHnIwK/file.html

Name of pet and MD5 here:
bogofilter-1.2.5-i686_bp32.pet 546 k
4c531682ce587485ddff579e13171e3d

Hope this helps you or anyone for that matter...

bliss, festus
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#18 Post by Subito Piano »

Well, movement of some sort, anyway:

Image

So, the above instead of a message telling me that Bogofilter cannot filter a message and the command 'bogofilter -T -b' couldn't be run.

The pet by itself didn't install the required bogofilter.so anywhere, so i kept the pet installed AND reinstalled claws-mail-bogofilter_3.13.2 via PPM, ran Claws-Mail, and received the above message. If this means bogofilter is ONLY looking for some "training" in order to work, then we are good to go -- in XenialPup, no less.

I'll report back when I know more. Thanks, festus!
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#19 Post by Subito Piano »

Update 25 May 2020 -- Bogofilter seems to be running without complaint! That said, I'm not get much junk mail to give it a workout...?!?!
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#20 Post by Subito Piano »

I can now confirm it's working. I marked an email as spam, and the next email from the same sender went straight to the junk folder. I realize this is not the same as saying bogofilter has been "trained," but that will take time. If it did this much, it should have no problem being trained to recognize junk mail.

Thanks, everyone! :)
[color=green]"God is love" - [url=https://www.esv.org/1+John+4/]I John 4:12[/url][/color]
ðŸ￾§ ðŸ￾§ ðŸ￾§ Rockin' on a 2007 IBM/Lenovo T60 Centrino Duo with 32-bit XenialPup 7.5! :D
(A/V Linux for live digital synth needs)
Post Reply