Learn about Centmin Mod LEMP Stack today
Register Now

DKim and Centminmod

Discussion in 'Domains, DNS, Email & SSL Certificates' started by Jon Snow, Jul 23, 2025.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    2:20 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    What's the from email domain in Wordpress sent emails? Ensure you are testing right domain's DKIM

    https://community.centminmod.com/th...ver-email-doesnt-end-up-in-spam-inboxes.6999/


     
  2. Jon Snow

    Jon Snow Active Member

    917
    188
    43
    Jun 30, 2017
    Ratings:
    +293
    Local Time:
    1:20 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    Wordpress sends emails from wordpress@domain.com

    From GMail headers:
    Code (Text):
    From:    WordPress <wordpress@domain.com> Using PHPMailer 6.9.3 (https://github.com/PHPMailer/PHPMailer)


    Code (Text):
    Received: from host.domain.com (host.domain.com. [x.xxx.xx.xx])
    


    Code (Text):
    Received: by host.domain.com (Postfix, from userid xxxx)


    There's ARC-Message-Signature but no DKIM.

    How can I add the DKIM for @domain.com without using an SMTP?
     
  3. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    2:20 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    You need Opendkim for domain.com as well, try
    Code (Text):
    /usr/local/src/centminmod/addons/opendkim.sh clean
    /usr/local/src/centminmod/addons/opendkim.sh clean domain.com
    

    update DNS records
     
  4. Jon Snow

    Jon Snow Active Member

    917
    188
    43
    Jun 30, 2017
    Ratings:
    +293
    Local Time:
    1:20 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    It's now showing as DKIM pass. Thanks a lot.

    For anyone reading this thread, you also need to restart postfix/dkim after running the above commands.