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.
Change mail._domainkey DKIM
Change mail._domainkey DKIM
Hello
When I add a domain to the Vesta system it creates a DNS record automatically. In the DNS is "mail._domainkey"
How can I change it so that Vesta will not setup "mail._domainkey" but something like this "theserver1._domainkey"
I edited "v-add-mail-domain-dkim" and "v-list-mail-domain-dkim-dns" but it still automatically adds "mail._domainkey"
Any help would be great :)
Thank you
When I add a domain to the Vesta system it creates a DNS record automatically. In the DNS is "mail._domainkey"
How can I change it so that Vesta will not setup "mail._domainkey" but something like this "theserver1._domainkey"
I edited "v-add-mail-domain-dkim" and "v-list-mail-domain-dkim-dns" but it still automatically adds "mail._domainkey"
Any help would be great :)
Thank you
Re: Change mail._domainkey DKIM
Hi, you need light code change -
/usr/local/vesta/bin/v-add-mail-domain
/usr/local/vesta/bin/v-list-mail-domain-dkim-dns
/usr/local/vesta/bin/v-add-mail-domain-dkim
(not tested, but theory thinks right)
/usr/local/vesta/bin/v-add-mail-domain
Code: Select all
record='mail._domainkey'
Code: Select all
echo -e "\n\t\"mail._domainkey\": {"
Code: Select all
echo "mail._domainkey 3600 IN TXT \"k=rsa; p=$pub\""
Code: Select all
record='mail._domainkey'
-
- Posts: 73
- Joined: Sun Dec 03, 2017 6:30 pm
Re: Change mail._domainkey DKIM
I needed this, and it works. Thanks!
Just one more thing,
in exim conf
under remote_smtp
needs to be changed too :)
Just one more thing,
in exim conf
Code: Select all
dkim_selector = mail
needs to be changed too :)