cd /news/artificial-intelligence/purgehound-use-the-power-of-local-ll… · home topics artificial-intelligence article
[ARTICLE · art-100976] src=git.cerberusgames.ca ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

PurgeHound – Use the power of local LLM to declutter a Maildir folder

PurgeHound, an open-source tool from Starstreak, uses local large language models to declutter Maildir folders by moving spam messages to an Archive-Spam folder, with nothing deleted. The tool, built in Go, supports models like gemma4 via Ollama and recommends a single worker for normal use, though it has been tested with two workers on an AMD 6800 XT.

read1 min views1 publishedAug 18, 2026
PurgeHound – Use the power of local LLM to declutter a Maildir folder
Image: source

Erases spam from your Maildir!

  • Go 100%

| |

LICENSElogo.aviflogo.pngmain.goREADME.md# PurgeHound

Description #

Use the power of LLM to declutter your Maildir folder!

Using this tool will move messaged marked as spam into a new folder: Archive-Spam.

Nothing is deleted, but you are free to delete that folder when its finished.

Installation #

Grab the source code.

git clone https://git.cerberusgames.ca/Starstreak/PurgeHound.git

Change directory

cd PurgeHound

Build the program.

go build .

Do you already have a model in mind that is installed? If so, skip this:

ollama pull gemma4

Usage #

Normal users should be using -workers 1 unless you have a reason to use more. You'll know if you need it.

Usage:

spamGPT -maildir /path/to/maildir [-ollama-url URL] [-model MODEL] [-workers 2] [-timeout 5m]

I did try workers 2 on a 6800 XT and it did not blow up with gemma4.

Quickstart (If all else fails -maildir is the directory for your database!) #

./PurgeHound -model gemma4 -maildir gmail/ -workers 1
── more in #artificial-intelligence 4 stories · sorted by recency
dev.to · · #artificial-intelligence
Readme
── more on @purgehound 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/purgehound-use-the-p…] indexed:0 read:1min 2026-08-18 ·