Upstream from my fork
Created by: griff
I have created a mail setup for myself that started as a fork of this project but has diverged a great deal since then.
Some of the things I have implemented are:
- Switched away from rmilter like #25 (closed) suggests
- Awstats site for mail generated hourly like #35 suggests
- Training of rspamd using imap_sieve. So moving to Junk trains as spam. Moving out of Junk trains ham
- Uses OpenDKIM and pypolicyd-spf for DKIM signing and SPF checking
- I am working on OpenDMARC support
And now I was wondering if you are interested in these changes?
They come with some caveats and issues.
Rspamd
A newer version of rspamd is needed to get rid of rmilter which is only in unstable so I override it in my config.
I needed more control over the rspamd service configuration so I have forked that into a rspamd2 module that should probably be upstreamed to nixpkgs. It supports socket activation and has much more control over worker configuration.
Awstats
- Awstats package does not include tools dir so I had to override the package
- The Awstats service in NixOS is geared towards apache stats so I made my own module that generates mail stats and a static site for it. That module doesn't have any security so everyone on the internet can see it. And it only works for one domain.
OpenDMARC
OpenDMARC is not in nixpkgs so I made my own package for it which should probably be upstreamed to nixpkgs.
For OpenDMARC to work it needs a mysql database. I tried to incorporate an sqlite patch someone had done but it was old and outdated.