The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Domainkeys sig fails

Discussion in 'E-mail Discussions' started by swaaye, Nov 9, 2007.

  1. swaaye

    swaaye Registered

    Joined:
    Jul 19, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I upgraded to the latest RELEASE Cpanel and installed Domainkeys without issue with the provided installer. The signature shows up in tests and the DNS entry is there. However, the signature fails. It says "bad", signature invalid....
     
    #1 swaaye, Nov 9, 2007
    Last edited: Nov 12, 2007
  2. swaaye

    swaaye Registered

    Joined:
    Jul 19, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Well, allow me to solve Cpanel's problem for them.

    After a few hours of researching, I discovered that the problem was what I suspected: exim, or something in the process of sending mail, is altering the message. This invalidates the domainkey, by default at least. I did some digging and found that this can be made "ok" by adding "dk_canon = nofws" to the exim.conf, as shown below. This enables a less critical "canonicalization " method.

    Code:
    dk_remote_smtp:
      driver = smtp
      dk_private_key = "/var/cpanel/domain_keys/private/${dk_domain}"
      dk_selector = default
      dk_canon = nofws
    
    My mail server is now passing the domainkeys tests.
    http://senderid.espcoalition.org/
     
    #2 swaaye, Nov 12, 2007
    Last edited: Nov 12, 2007
  3. Bailey

    Bailey Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    120
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Wisconsin
    You rock!!! Thank you :)

    :D Bailey
     
  4. Compubuster

    Compubuster Well-Known Member

    Joined:
    Mar 31, 2004
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Awesome .. The only problem is, when cPanel updates exim, you'll need to re-add that line.

    I hope cPanel will look into this, and add it to their default configuration file.
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    One way to ensure this would be to post this information to http://bugzilla.cpanel.net so the developers are aware of it as they do not routinely monitor these forums.
     
  6. swaaye

    swaaye Registered

    Joined:
    Jul 19, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
Loading...

Share This Page