Want to subscribe to topics you're interested in?
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

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    5:10 PM
    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

    30,151
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    1:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    5:10 PM
    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

    30,151
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    1:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Agree Agree x 1
  5. SFLC

    SFLC Active Member

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    5:10 PM
    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
     
    • Informative Informative x 1
  6. eva2000

    eva2000 Administrator Staff Member

    30,151
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    1:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    interesting solution !
     
  7. SFLC

    SFLC Active Member

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    5:10 PM
    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

    30,151
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    1:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
  9. SFLC

    SFLC Active Member

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    5:10 PM
    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
     
    • Like Like x 1
  10. eva2000

    eva2000 Administrator Staff Member

    30,151
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    1:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    well with any learning, practice and more practice is key :D

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