What does HackerNews think of mox?
modern full-featured open source secure mail server for low-maintenance self-hosted email
Language:
Go
Use mox on your own Raspberry Pi at home! Get your ISP to set up a PTR record for your static IP and enjoy email free of fear of losing it:
Interesting indeed. What kind of classification would you have in mind? Separate out different types of senders, e.g. friend groups, or professional clients? Or more the personal email, transactional email, newsletter?
For bayesian junk filtering to work, you train with messages marked either as junk or nonjunk. I suppose you could train based on positive tag, and assume the message has the opposite signal if it didn't get that tag. My historic email is only classified for (non)junk. If I would start more classifications, I would have to ignore the existing messages.
Fyi, I'm working on https://github.com/mjl-/mox, which also includes a bayesian filter. This sounds implementable.
Just run your own mail server on a Pi at home and get your ISP to set up a PTR record for you, assuming you are on a static IP. Mox is good and outputs all of the instructions for DNS etc.:
I really like MOX approach: https://github.com/mjl-/mox for self hosting email.
A single binary, no web interface.