{"slug": "purgehound-use-the-power-of-local-llm-to-declutter-a-maildir-folder", "title": "PurgeHound – Use the power of local LLM to declutter a Maildir folder", "summary": "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.", "body_md": "Erases spam from your Maildir!\n\n- Go 100%\n\n|\n|\n\n[LICENSE](/Starstreak/PurgeHound/src/branch/main/LICENSE)[logo.avif](/Starstreak/PurgeHound/src/branch/main/logo.avif)[logo.png](/Starstreak/PurgeHound/src/branch/main/logo.png)[main.go](/Starstreak/PurgeHound/src/branch/main/main.go)[README.md](/Starstreak/PurgeHound/src/branch/main/README.md)# PurgeHound\n\n## Description\n\nUse the power of LLM to declutter your Maildir folder!\n\nUsing this tool will move messaged marked as spam into a new folder: Archive-Spam.\n\nNothing is deleted, but you are free to delete that folder when its finished.\n\n## Installation\n\nGrab the source code.\n\n```\ngit clone https://git.cerberusgames.ca/Starstreak/PurgeHound.git\n```\n\nChange directory\n\n```\ncd PurgeHound\n```\n\nBuild the program.\n\n```\ngo build .\n```\n\nDo you already have a model in mind that is installed? If so, skip this:\n\n```\nollama pull gemma4\n```\n\n## Usage\n\nNormal users should be using -workers 1 unless you have a reason to use more. You'll know if you *need* it.\n\nUsage:\n\n```\nspamGPT -maildir /path/to/maildir [-ollama-url URL] [-model MODEL] [-workers 2] [-timeout 5m]\n```\n\nI did try workers 2 on a 6800 XT and it did not blow up with gemma4.\n\n## Quickstart (If all else fails -maildir is the directory for your database!)\n\n```\n./PurgeHound -model gemma4 -maildir gmail/ -workers 1\n```\n\n", "url": "https://wpnews.pro/news/purgehound-use-the-power-of-local-llm-to-declutter-a-maildir-folder", "canonical_source": "https://git.cerberusgames.ca/Starstreak/PurgeHound/", "published_at": "2026-08-18 07:26:25+00:00", "updated_at": "2026-08-18 07:41:17.734416+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "ai-tools"], "entities": ["PurgeHound", "Starstreak", "Ollama", "gemma4", "AMD 6800 XT"], "alternates": {"html": "https://wpnews.pro/news/purgehound-use-the-power-of-local-llm-to-declutter-a-maildir-folder", "markdown": "https://wpnews.pro/news/purgehound-use-the-power-of-local-llm-to-declutter-a-maildir-folder.md", "text": "https://wpnews.pro/news/purgehound-use-the-power-of-local-llm-to-declutter-a-maildir-folder.txt", "jsonld": "https://wpnews.pro/news/purgehound-use-the-power-of-local-llm-to-declutter-a-maildir-folder.jsonld"}}