stalwartlabs / mail-server

Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP)
https://stalw.art
4.12k stars 158 forks source link

[enhancement]: Auto add/update DKIM key #368

Open onny opened 4 months ago

onny commented 4 months ago

Which feature or improvement would you like to request?

Since we'll already have access to the domain name system via TLS-DNS-01, it would be nice to automatically add or update the DKIM domainkey

Type: TXT
Name: mail._domainkey
Content: v=DKIM1; h=sha256; k=rsa; p=<generated DKIM key>

Would also make a good feature possible: Automatic DKIM key rotation

Is your feature request related to a problem?

I'm having a problem with...

Code of Conduct

williamdes commented 4 months ago

That makes so much sense! But I wonder how it will work with CNAME delegation: https://www.eff.org/deeplinks/2018/02/technical-deep-dive-securing-automation-acme-dns-challenge-validation