Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

EXIM Config: Does "Reject DKIM failures" pass domains with no DKIM

Discussion in 'E-mail Discussion' started by phillbooth, Mar 17, 2016.

  1. phillbooth

    phillbooth Active Member

    Joined:
    Sep 9, 2013
    Messages:
    41
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hello in the "ACL Options" of the Exim Config does the "Reject DKIM failures" set to "on" also fail domains without a DKIM? As I would like domains with no DKIM to pass and only those with incorrect DKIM to fail.

    Thanks
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Here's the entry that's added to your Exim configuration file when enabling the options to reject DKIM failures:

    Code:
    #BEGIN ACL_SMTP_DKIM_BLOCK
    # BEGIN INSERT dkim_bl
    
      accept message = DKIM: Testing Mode
            condition = ${if bool{$dkim_key_testing}}
    
      deny message = DKIM: encountered the following problem validating $dkim_cur_signer: $dkim_verify_reason
           dkim_status = invalid:fail
    
      accept
    
    # END INSERT dkim_bl
    I believe the lack of the "none" entry on the "dkim_status" line indicates that senders with no DKIM record are not blocked. You can find the technical details of this option at:

    57. Support for DKIM (DomainKeys Identified Mail)

    Are you experiencing different results when testing?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. phillbooth

    phillbooth Active Member

    Joined:
    Sep 9, 2013
    Messages:
    41
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    great thanks replaceing

    Code:
    condition = ${if bool{$dkim_key_testing}}
    with

    Code:
    condition = ${if eq {$dkim_verify_status}{none} {0}{${if bool{$dkim_key_testing}}}

    seems to have worked
     
    #3 phillbooth, Mar 22, 2016
    Last edited: Mar 23, 2016
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see it's working as expected. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice