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.

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

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

  1. phillbooth

    phillbooth Active Member

    Joined:
    Sep 9, 2013
    Messages:
    38
    Likes Received:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. phillbooth

    phillbooth Active Member

    Joined:
    Sep 9, 2013
    Messages:
    38
    Likes Received:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page