Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

Change mail._domainkey DKIM

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
hotsyncuk
Posts: 1
Joined: Tue Mar 03, 2015 12:16 am

Change mail._domainkey DKIM
  • Quote

Post by hotsyncuk » Tue Mar 03, 2015 12:22 am

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
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Change mail._domainkey DKIM
  • Quote

Post by skurudo » Wed Mar 04, 2015 5:04 pm

Hi, you need light code change -
/usr/local/vesta/bin/v-add-mail-domain

Code: Select all

record='mail._domainkey'
/usr/local/vesta/bin/v-list-mail-domain-dkim-dns

Code: Select all

echo -e "\n\t\"mail._domainkey\": {"

Code: Select all

echo "mail._domainkey 3600    IN    TXT    \"k=rsa; p=$pub\""
/usr/local/vesta/bin/v-add-mail-domain-dkim

Code: Select all

record='mail._domainkey'
(not tested, but theory thinks right)
Top

lukapaunovic
Posts: 73
Joined: Sun Dec 03, 2017 6:30 pm

Re: Change mail._domainkey DKIM
  • Quote

Post by lukapaunovic » Thu Sep 20, 2018 11:24 pm

I needed this, and it works. Thanks!
Just one more thing,
in exim conf

Code: Select all

dkim_selector = mail
under remote_smtp
needs to be changed too :)
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password