imapfilter
« Back to VersTracker
Description:
IMAP message processor/filter
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Productivity
Tags: email imap filtering automation lua
Install: brew install imapfilter
About:
Imapfilter is a command-line tool that connects to IMAP servers to process and filter email messages based on user-defined rules. It allows for sophisticated filtering logic, including matching headers, body content, and message flags. Its main value proposition is automating email organization directly on the server, keeping inboxes clean without relying on client-side rules.
Key Features:
  • Server-side filtering and processing
  • Lua-based configuration for complex rules
  • Supports multiple IMAP accounts and folders
  • Can execute external programs and manage flags
Use Cases:
  • Automatically sorting incoming newsletters and notifications into specific folders
  • Deleting or archiving spam and old messages based on age and content
  • Applying labels or flags to messages from important contacts
Alternatives:
  • procmail – Procmail filters local mail delivery, whereas Imapfilter operates on remote IMAP stores post-delivery.
  • OfflineIMAP – OfflineIMAP syncs mail locally; Imapfilter manages mail directly on the remote server.
Version History
Detected Version Rev Change Commit
Sep 12, 2025 12:20pm 0 VERSION_BUMP c4a9e121
Sep 14, 2024 6:07am 0 VERSION_BUMP 12f4da31