We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Generating DKIM for external DNS
Generating DKIM for external DNS
Hacked together a small script to do this from v-list-mail-domain-dkim. It takes the same arguments USER DOMAIN. eg.
Listing:
Code: Select all
dkim-dns.sh admin mydomain.com
Set a TXT record for mail._domainkey.mydomain.com to:
"v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQausidfiuaspdfasd/9Db9aPEPSPOIDNDNVuMyaWoG9MZaCv3+QRoouasdfasdHXGhmy4arZnHZTvkR7apsdfaspd0asd;lfjk;aslkdjfaasdfB"
Code: Select all
#!/bin/bash
if [ -z "$1" ]
then
echo "Call script with USER DOMAIN arguments"
else
echo "Set a TXT record for mail._domainkey.$2 to:"
v-list-mail-domain-dkim $1 $2 \
| sed '1,/BEGIN PUBLIC KEY/d' | sed '/END PUBLIC KEY/d' \
| tr -d '\n' | sed 's/.*/"v=DKIM1; k=rsa; p=&"\n/'
fi
Re: Generating DKIM for external DNS
I think better is to resolve this problem at all:
https://github.com/serghey-rodin/vesta/ ... eef4b07d2d
https://github.com/serghey-rodin/vesta/ ... eef4b07d2d
Re: Generating DKIM for external DNS
Sure! I just had to do it for a load of domains, so I wrote a script.