Welcome to retracile.net, my dusty little corner of the internet.
Read more AboutMe and peruse my Resume; or browse my Projects. Drop me an email to make a comment or ask a question.
Browse by time:
- March 2025 (1)
- February 2025 (1)
- January 2025 (1)
- December 2024 (1)
- October 2024 (1)
- September 2024 (1)
- August 2024 (1)
- July 2024 (1)
- June 2024 (1)
- May 2024 (1)
- April 2024 (1)
- March 2024 (1)
- February 2024 (1)
- January 2024 (1)
- November 2023 (1)
- October 2023 (1)
- September 2023 (1)
- August 2023 (1)
- July 2023 (1)
- June 2023 (1)
- May 2023 (1)
- April 2023 (1)
- March 2023 (1)
- February 2023 (1)
- January 2023 (1)
- December 2022 (1)
- November 2022 (1)
- October 2022 (1)
- September 2022 (1)
- August 2022 (1)
- July 2022 (1)
- May 2022 (1)
- March 2022 (1)
- February 2022 (1)
- January 2022 (1)
- December 2021 (1)
- November 2021 (1)
- October 2021 (1)
- September 2021 (1)
- August 2021 (1)
- July 2021 (2)
- February 2020 (1)
- December 2019 (1)
- October 2019 (2)
- August 2019 (1)
- July 2019 (1)
- June 2019 (1)
- May 2019 (1)
- April 2019 (1)
- March 2019 (1)
- February 2019 (2)
- November 2018 (1)
- August 2018 (1)
- October 2017 (1)
- September 2017 (1)
- August 2017 (1)
- July 2017 (1)
- June 2017 (1)
- May 2017 (1)
- April 2017 (1)
- March 2017 (2)
- January 2017 (1)
- December 2015 (1)
- November 2015 (2)
- September 2015 (1)
- July 2015 (2)
- January 2015 (2)
- December 2014 (1)
- September 2014 (1)
- August 2014 (1)
- July 2014 (1)
- May 2014 (3)
- April 2014 (1)
- October 2013 (1)
- September 2013 (1)
- June 2013 (2)
- May 2013 (1)
- December 2012 (1)
- August 2012 (2)
- January 2012 (1)
- December 2011 (1)
- August 2011 (2)
- June 2011 (1)
- February 2011 (1)
- January 2011 (1)
- November 2010 (1)
- April 2010 (1)
- December 2009 (2)
- November 2009 (2)
- October 2009 (3)
- July 2009 (1)
- June 2009 (1)
- May 2009 (1)
- April 2009 (1)
- February 2009 (2)
- November 2008 (1)
- May 2008 (1)
- March 2008 (2)
Browse by category:
- rss 3d-printing (3)
- rss android (6)
- rss aqemu (1)
- rss bash (2)
- rss book (1)
- rss bug (2)
- rss cellphone (2)
- rss centos (1)
- rss computer (2)
- rss construction (2)
- rss corsair-gaming-k70-rgb (5)
- rss corsair-gaming-k95-rgb (4)
- rss creality (1)
- rss diff (1)
- rss electrical (3)
- rss email (1)
- rss ender-3-pro (1)
- rss fedora (2)
- rss flashlight (1)
- rss food (1)
- rss history (9)
- rss kde (2)
- rss keyboard (5)
- rss kmail (1)
- rss ldglite (2)
- rss ldraw (31)
- rss ldraw-parts-library (23)
- rss ldview (4)
- rss lego (43)
- rss leocad (5)
- rss linux (43)
- rss lpub4 (4)
- rss macos (1)
- rss math (1)
- rss metal-working (3)
- rss mindstorms (4)
- rss music (9)
- rss numbers (1)
- rss office (2)
- rss openSCAD (2)
- rss openid (1)
- rss playset (1)
- rss programming (7)
- rss python (17)
- rss quick-grid-zones (3)
- rss router (1)
- rss rubik's-cube (2)
- rss sabaton (9)
- rss security (3)
- rss sewing (1)
- rss software (15)
- rss subversion (1)
- rss trac (2)
- rss truck (2)
- rss vim (9)
- rss weapons (2)
- rss windows (1)
- rss wood-working (6)
Kmail + SpamBayes
I've been meaning to do something about spam filtering on my email, especially the email from this domain. I recently stumbled upon a menu entry in Kmail I hadn't noticed before 'Tools -> Anti-Spam Wizard...'. If you have SpamBayes installed (yum install spambayes), it is listed as an option for setting up spam filtering. Follow the prompts through the wizard, and click 'Finish' when done.
But now what? Nothing seems to change, no 'mark as ham' or 'mark as spam' options suddenly appeared in the context menu.
And thus it sat, unused, and therefore... useless.
Today I started looking a bit more closely at the filters that the wizard created. There were two that stood out: 'Classify as Spam' and 'Classify as NOT Spam'. These two are not applied to incoming mail, but are added to the 'Apply Filter' context menu. And apparently that is how you tell SpamBayes what is spam and what is ham.
So I went to my spam folder, selected today's spam, right-clicked, 'Apply Filter -> Classify as Spam'. It fed it to SpamBayes, and moved the messages to my spam folder. I selected a chunk of my read messages (ham) and right-clicked, 'Apply Filter -> Classify as NOT Spam' and it trained SpamBayes on them, and left them where they were.
I checked my email, and like magic, the incoming spam wound up in the spam folder without my intervention.
Moral of the story? Kmail needs to include in the Anti-Spam Wizard some basic 'getting started' instructions or a link to some help on the topic. This wasn't obvious to me before I found it. It makes sense, but it wasn't intuitive.
But now I know. And so do you.
Edit: And now I see a pair of new buttons in the toolbar. I don't think they were there before; I noticed them after a restart. So, after setting up SpamBayes, restart kmail, and you should see 'spam' and 'ham' toolbar buttons beside the 'trash' button.
- Posted: 16 years ago (Updated: 13 years ago)
- Categories: kmail email
Comments
No comments.