nixos-mailserver
nixos-mailserver copied to clipboard
See if it's possible to leverage the nixcloud.email service if it lands in nixpkgs
Ref: https://github.com/NixOS/nixpkgs/pull/29366
It seems to be a fairly identical effort. Maybe we can pool resources?
sounds great. where to start?
I'm working on an extensible test suite right now, to make sure future commits don't break things. For that I need to find out how to integrate the nix tests with a CI solution, any help there is welcome.
Some new features that are fun projects are
- Multidomain rewrite
- Certificate creation scheme with Let's Encrypt (that should be fairly simple, I mostly avoided it so far, because it makes testing a hastle)
- User Sieve scripts (so far there is only one hard-coded sieve script moving spam to the Junk folder)
- Write deployment scripts for
nixops
Maintenance work that needs to be done is mostly updating some stale comments from the module rewrite. Long term I'd also like to move any text snippet that is longer than a couple of lines into it's own file (e.g. the postfix config). I need to figure out what's the best way to still have the replace functionality though.
Of course any other feature that you can think off and is missing is greatly appreciated.
Looking at your feature list
- virtualMail user abstraction
- easy way to assign passwords for mail users declaratively
- optional greylisting
- optional spamassassin
- explicit ipv4/ipv6 support
- sieve filters working
- automated ACME (for example: mail.lastlog.de)
- helpful defaults to communicate with gmail and others
- catchall
It seems like SNM could benefit from
- optional greylisting
- explicit ipv4/ipv6 support
- sieve filters working
- automated ACME (for example: mail.lastlog.de)
- helpful defaults to communicate with gmail and others
- catchall
Can you describe what you are working on and planning for the future on your project? Maybe we can identify overlaps.
so a few things we are working on would be those
future
- spamassassin should call
sa-learn
per virtualMail account - automate DNS deployment with
nixcloud.dns
- webmail support via
mail.youpickedthedomain.tld
using horde or similar - enforce SPF/DKIM via DMARC policies
- postfix: satellite setups
- postfix DNSSEC
- DANE
- mailinglists using mailman
- header checks
obvious things
- documentation
- unit tests for various scenarios
- hosting for such setups
- monitoring
nixcloud.monitoring
@qknight @r-raymond I'm happy to see you are willing to collaborate!
@r-raymond would you consider moving this repo to an organisation?
@eqyiel Yes, that's the obvious step.
@qknight Are you willing to integrate your work into SNM if I move the repo to an organisation? Or do you suggest a different course of action?
@r-raymond @eqyiel i think we should try to get it into nixpkgs but if that fails we should put it into an organization!
this is the issue i'll be solving next: https://github.com/NixOS/nixpkgs/issues/29414
It looks like this is not happening any more, but the first part of this issue is still relevant (see if it's possible to leverage nixcloud.email). @qknight said something interesting about hashing modules to see if the upstream definition changed: https://github.com/NixOS/nixpkgs/pull/29366#issuecomment-341986348
That sounds like a really good idea and would prevent stuff like this: https://github.com/r-raymond/nixos-mailserver/issues/21
Maybe we should also suggest pinning to a specific nixpkgs revision?
I'll look into it more as soon as I get a chance.
Pinning sounds like a good idea. I don't know about hashing, as any bug fix or security patch (unrelated or not) would break the the hash. But I guess we would need more informations. Let me know what you find out!
On 11/09, Ruben Maher wrote:
It looks like this is not happening any more, but the first part of this issue is still relevant (see if it's possible to leverage nixcloud.email). @qknight said something interesting about hashing modules to see if the upstream definition changed: https://github.com/NixOS/nixpkgs/pull/29366#issuecomment-341986348
That sounds like a really good idea and would prevent stuff like this: https://github.com/r-raymond/nixos-mailserver/issues/21
Maybe we should also suggest pinning to a specific nixpkgs revision?
I'll look into it more as soon as I get a chance.
-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/r-raymond/nixos-mailserver/issues/13#issuecomment-343301189
@eqyiel we released https://github.com/nixcloud/nixcloud-webservices a few days ago, have a look at the nixcloud.email documentation.
@qknight thanks!