Setting up VestaCP DKIM SPIF and rDNS for Google to accept emails

before

 

Add this to exim.conf settings:

and then

now

 

 

Take a look on the image below
Image

Then choose your mail domain
Image

After that type in SSH:

CODE: SELECT ALL

 


Don’t forget to replace it with your domain name, user name etc.

You can’t do 1024 bit keys automatically, you have to do it manually for every domain. In next Vesta release it would be 1024 bit keys for every domain by default.

Then reload your named service:

CODE: SELECT ALL
service named restart


And you’re done!Take a look on the image below
Image

Then choose your mail domain
Image

After that type in SSH:

CODE: SELECT ALL

 


Don’t forget to replace it with your domain name, user name etc.

You can’t do 1024 bit keys automatically, you have to do it manually for every domain. In next Vesta release it would be 1024 bit keys for every domain by default.

Then reload your named service:

CODE: SELECT ALL

 


And you’re done!

3 comments

  • Ramakrishna

    Awesome! It was easy then I expected. Search for hours for this solution finally found it here! I was on linode VPS

  • lester khan

    running that command: v-add-mail-domain-dkim %user% %domain% %key-length%

    produces: no such user and I know there is a user (yes, I have replaced %user% with an actual user and %domain% with the proper domain and %key-length% with the number 1024

    FYI: are the percentage signs supposed to be included?

Leave a Reply

Your email address will not be published. Required fields are marked *