Projects

MOM

Mother of mailboxes: spam filtering and mail rules for any IMAP mailbox, built for people who run their own mail server.

Runs on
Java 17, any IMAPS server
Interface
Web UI
License
GPL-3.0
Latest release
v2.1.1
The MOM home screen: three mail accounts with their message counts, rules and classifier training, and below them five reputation lists with their size and next refresh.
Three mail accounts with their rules and spam classifiers, and the reputation lists MOM keeps up to date. Addresses changed.

The problem

Mail servers and mail clients both come with spam filters and rules. But every time you switch software, you set it all up again from scratch.

MOM only needs IMAP, so it doesn’t care what’s behind it. Point it at a new server and everything, rules included, keeps working.

On Gmail or Outlook.com? You’re already covered, you don’t need MOM.

What it does

The MOM decision log: a list of handled messages, one expanded to show every rule it went through, with the body classifier rule that matched and moved it to the spam folder.
The decision log: every rule a message went through, and the one that matched. Senders changed.

Where your data goes

Nowhere. Filtering only does DNS lookups for the SPF, DKIM, DMARC and FCrDNS checks: they reveal sender domains and IPs, never message content. Reputation lists are downloaded periodically, never queried for a specific message.

Is your own mail delivered?

Running your own mail server means your mail can end up in other people’s spam folders. MOM checks your setup: SPF, DKIM, DMARC and its reports, reverse DNS, MX, DANE, MTA-STS and the reputation of your IP and domain. With an SMTP sink configured, it checks a real test message too.

The MOM delivery check: a row of results for SPF, DKIM, DMARC, reverse DNS, MX, DANE, MTA-STS and reputation, then the SPF and DKIM details for the domain.
The delivery check: SPF passes, and the DKIM key could be stronger. Domain and addresses changed.

Get started

Download the jar from the latest release and run it in an empty folder:

mkdir mom && cd mom
java -jar mom-core-<version>.jar .

On the first start, MOM prints the web UI’s address and a temporary password. A setup wizard then walks you through adding your first mail account.

Learn more