Want more timely Centmin Mod News Updates?
Become a Member

Email DKIM issues

Discussion in 'Domains, DNS, Email & SSL Certificates' started by SFLC, Dec 20, 2016.

Tags:
  1. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    6:56 AM
    1
    10
    i have an issue

    i keep getting
    DKIM: UNKNOWN with domain null
    in message sources when looking at them in gmail


    ive tried to make a few changes to postfix's main.cf but it doesnt resolve it, no matter what website i use to check my spf, dmarc and dkim it says everything is valid. my emails arent going into junk mailboxes for the most part but im hoping someone here may have experience in dealing with this.

    this only started recently and everything was fine before, so im not sure what happened
     
  2. eva2000

    eva2000 Administrator Staff Member

    52,186
    11,998
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,501
    Local Time:
    2:56 PM
    Nginx 1.25.x
    MariaDB 10.x
    maybe you messed up the changes ? hard to know

    Unfortunately, you'd be on your own. You could try a new test vps install and try sending emails with no other manual postfix edits and see if you get same problem. Then compare postfix configurations and diagnose
     
  3. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    6:56 AM
    1
    10
    it was just a change to myorigin and mydomain and theyre back to the way they were, dkim is so flakey from the looks of it.

    in your experience how important is dkim anyway
     
  4. eva2000

    eva2000 Administrator Staff Member

    52,186
    11,998
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,501
    Local Time:
    2:56 PM
    Nginx 1.25.x
    MariaDB 10.x
  5. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    6:56 AM
    1
    10
    Well thats interesting, resolved it, by adding 2nd dmarc and dkim keys (dupes of the first ones) with .blahblah (first part of my hostname) in dns, then copied the keys from open dkim into a new directory and edited the default.txt to reflect the name, and restarted opendkim

    im glad its resolved, but its definitely flakey
     
  6. eva2000

    eva2000 Administrator Staff Member

    52,186
    11,998
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,501
    Local Time:
    2:56 PM
    Nginx 1.25.x
    MariaDB 10.x
    interesting solution !
     
  7. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    6:56 AM
    1
    10
    strange though, back to back email from command line, 50% rate of dmarc failure :cautious:, which to me doesnt even make any sense

    i wonder if there are any bugs in opendkim
     
  8. eva2000

    eva2000 Administrator Staff Member

    52,186
    11,998
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,501
    Local Time:
    2:56 PM
    Nginx 1.25.x
    MariaDB 10.x
    best way to rule it out is you could try a new test vps install and try sending emails with no other manual postfix edits and see if you get same problem. Then compare postfix configurations and diagnose
     
  9. SFLC

    SFLC Active Member

    223
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    6:56 AM
    1
    10
    ill definitely try that out, thanks for your help, if i can get something working and can guarantee it through results ill write a guide for it and post it on this forum. this subject has been hard for me to grasp and im sure others might be or will be in the same boat at some point
     
  10. eva2000

    eva2000 Administrator Staff Member

    52,186
    11,998
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,501
    Local Time:
    2:56 PM
    Nginx 1.25.x
    MariaDB 10.x
    well with any learning, practice and more practice is key :D

    and you learn more from making mistakes and learning from them ;)