Skip to main content

DKIM for dnsonly hostname

Comments

4 comments

  • mtindor

    https://support.cpanel.net/hc/en-us/community/posts/19636805265815--CPANEL-20425-DKIM-for-main-server-hostname

    -- look at the 5th post, by cPanelMichael

     

    If your DNSOnly server doesn't handle DNS for the primary domain associated with your server, you will then need to publish the new DKIM key to the authoritative DNS servers for your domain.

    Example:

    domain:  example.com

    server name:  server.example.com

    When you follow the instructions in the link, a DKIM record should be added to /var/named/server.example.com

    IF your server itself is not authoritative for example.com but some other server is, copy the DKIM key and publish it in your authoritative nameservers.  It would be something like:

    To publish it in the DNS zone of your domain (example.com), you would need to add it like this:

    default._domainkey.server.example.com.    IN    TXT  "v=DKIM1; blahblahblahblah"

     

    0
  • cPRex Jurassic Moderator

    Hey hey!  Currently there is not a way to get DKIM working on a DNSOnly machine.  I found an older thread where I talked about a case being created:

    https://support.cpanel.net/hc/en-us/community/posts/19133314947223-DKIM-on-DNSONLY

    but that hasn't seen any action.

    I've reached out to that particular team to see if we can give that priority as DKIM is now more critical than ever.

    0
  • Benito

    Yes, nowadays it’s essential for emails to reach their destination. Thanks for the tips, but the steps to enable DKIM seemed very complicated to me. I finally solved it like this.

    I edited this file...

    /etc/exim.conf.localopts

    ...edited these lines inside it,

    smarthost: mailhost.com
    smarthost_port: 587 smarthost_user: something@email.com smarthost_pass: PASSWORD

    ...then ran these commands.

    /scripts/buildeximconf
    systemctl restart exim

    And that’s it, now the DNSONLY server sends emails using a valid email account. I just hope an update doesn’t wipe out my changes.

    It would be great if all cPanel servers, including full servers, allowed configuring an SMTP in web Interface to send the server’s own emails.

    0
  • cPRex Jurassic Moderator

    If you edited localopts it *shouldn't* get wiped out from an update, but I'm hoping for more official DKIM support in DNSOnly in the future through that case.

    0

Please sign in to leave a comment.