Continuing where I left off yesterday, today will likely be about rspamd.
...the email experiment will continue tomorrow. The bed calls to me.
Discussion
Continuing where I left off yesterday, today will likely be about rspamd.
...the email experiment will continue tomorrow. The bed calls to me.
So very excited! Almost ready to jump out of bed, and not wait until the rest if the family wakes up.
I wanna haaaaaack!
Since I use a relay for outgoing mail, I only need to care about the verification parts of SPF and DKIM, for incoming mail.
This makes life a whole lot simpler.
Heh. What if... ryoms explain mail.eml?
It'd run the checks, and explain each result, and the score given. More useful than a list of checks & scores in a header.
Could even run the milter in verbose mode, where it saves the explanation to S3, to a file based on msgid or something.
Could then add an x-ryoms-info header, with an url to the explanation.
I'm gonna have so much fun with this.
Btw, this too will be Filthy Human Hands licensed. Technically not FLOSS. 0 fucks given.
Another benefit of this side quest is that I can experiment more freely with building a Roto library / module collection. A set of reusable parts.
Oooh oooh oooh. Fuuuck. I am a genius.
Ryoms web ui: log in with imap credentials, see all the reports stored on s3. Allows deleting / archiving, and I might even make it possible to fetch the raw email via imap too.
Should also have an api, so I can teach my mail cluent to fetch the report on demand, and display it in emacs.
Bayesian filtering? Mmm, not yet. I have trained rspamd on 10 years of spam and ham, and the bayesian score is still pretty useless.
The spam I catch, I usually catch without training. So I win't bother until I have to.
Why is it useless, though? Because I receive a lot if legit mail, from banks, utilities companies, forges, etc, that are all very html, very tracking pixels and shit.
FML.
I can reuse half of iocaine for ryoms. All the matchers (aho-corasick, regexpset, asn lookup, ipset, etc) are useful here too. So I'll factor those out into their own crate too.
Rebuild Your Own Milter System
Rig Your Own Mail Suspicions
So many opportunities! I decided not to bless an official expansion. It'll be just ryoms, you're free to expand it however you wish.
I might end up using particularly entertaining expansions as release code names past 1.0 though.
Okay. I'm at the PC now. Lets get down to business.
I'll move OJF to the iocaine org first, will tweak my postfix config a little, then open up the port forwarding on Eru, so I can receive mail from outside - so I have something I can test with under production circumstances.
Then I can get down and start writing the milter. There's an indiemilter crate I've been eyeing that looks like a good foundation to build on.