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.

Weak DKIM Keys

Discussion in 'E-mail Discussions' started by timvie, Jan 27, 2013.

  1. timvie

    timvie Member

    Joined:
    Aug 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I upgraded from 11.32 to 11.34 now I am getting a dkim=policy (weak key) from gmail. I have seen to disable the DKIM and then delete the public and private DKIM keys and the re-enable DKIM and it will generate the new larger DKIM key.

    Do I delete the keys via ssh?

    Can someone give me the code to do this please?



    Thanks in advance,


    Tim
     
  2. Greenhost

    Greenhost Well-Known Member

    Joined:
    Jan 22, 2013
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi Tim,
    Yes, you should, for deleting DKIM on SSH:
    Code:
     /opt/zimbra/libexec/zmdkimkeyutil -r -d example.com
    For rebuild :
    Code:
    /opt/zimbra/libexec/zmdkimkeyutil -a -d example.com
    Note: This is fore zimbra, what's your email and calendar groupware software?:p
     
  3. mykkal

    mykkal Well-Known Member

    Joined:
    Feb 9, 2007
    Messages:
    120
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, Georgia, United States
    Wish there was some kind of notification when doing this... I wouldn't have known except I happen to make changes to my SPF records and noticed a hard fail.
     
  4. mykkal

    mykkal Well-Known Member

    Joined:
    Feb 9, 2007
    Messages:
    120
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, Georgia, United States
    I was able to fix the weak keys issue by disabling DKIM, deleting the keys manually, and enabling dkim. make sure you restart exim afterwards.

    cpanel will create 1024 bit keys if you do this.
     
Loading...

Share This Page