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.

Custom RBL Not displaying RBL link in Result as it used to

Discussion in 'E-mail Discussions' started by kdean, Apr 8, 2014.

  1. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    I know this used to work, but it's been a while since I last checked for it.

    Using cPanel 11.42.0.23

    I have some Custom RBLs entered in WHM »Service Configuration »Exim Configuration Manager »Manage Custom RBLs

    ...and I have links in the Info URL fields.

    I confirm in the Exim Advanced Editor that my custom RBLs have this line just like the built-in RBLS

    Code:
    deny message = JunkMail rejected - $sender_fullhost is in an RBL, see $dnslist_text
    ...but when I review the Result column in Mail Delivery Reports or the exim_rejectlog itself, the response does not contain the $dnslist_text output like it does for the built-in RBLs.

    It ends with "see" like:

    Code:
    JunkMail rejected - (xxx.xxxxxx.com) [###.###.###.###]:##### is in an RBL, see
    whereas Spamhaus will still come up as:


    Code:
    JunkMail rejected - (xxx.xxxxxx.com) [###.###.###.###]:##### is in an RBL, see http://www.spamhaus.org/sbl/query/SBLCSS
    I tried re-entering the RBL with no difference.

    Is anyone else seeing this problem? Seems like a bug with the Custom RBLs.
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Maybe check /var/cpanel/rbl_info/yourrbl.yaml to make sure the url value is saved. We have a custom RBL as well for Spamhaus (we use a local feed on our own dnsbl servers) and I'm not seeing the same problem. If it helps, here's the contents of the file with identifying data stripped out:

    Code:
    ---
    dnslists:
    - zen.dnsbl
    name: customrbl
    url: http://www.spamhaus.org/zen/index.lasso
    
    Outside of the delivery reports in WHM, have you checked the Exim log to see if the output in the actual log is different than what WHM is saying it is?
     
  3. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    The .yaml files you pointed me to do have the urls.

    You may have missed it, but I did mention that the exim_rejectlog is also missing the urls.... nor or they appearing in the exim_mainlog either.

    Everything looks right from the configuration side.
     
  4. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Yes, I did miss that part. It may be best to perhaps talk to cPanel about this. There's a template for the RBL in /usr/local/cpanel/etc/exim/acls/ACL_RBL_BLOCK/ that is auto-generated so I doubt it's the problem since this populates what you're seeing in the config editor, but if you're feeling adventurous perhaps you can modify the template directly to say what you want it to say.
     
  5. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    I actually already tried editing in the _rbl files in the ACL_RBL_BLOCK folder and as soon as I run /scripts/buildeximconf it wipes out the changes.

    - - - Updated - - -

    I can at least add a little text directly to the exim.conf and not rebuild exim for a bit to have some hint at the which RBL matched.
     
  6. LBJ

    LBJ Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    G'day kdean,

    The problem you're facing is that cPanel assumes all RBL's return an associated TXT record just as spamcop and spamhaus do. It's that TXT record that populates the $dnslist_text field and is then returned to the sending server, and recorded in the exim_rejectlog.

    Other RBL's, like b.barracuda.org, don't return a TXT record, so in their case, the $dnslist_text field is left blank as you're seeing. You can test each RBL with a dig.

    It would be great for cPanel to add a suitable enhancement. I've never had much success in having enhancement requests actioned though, so I tend to just work around klunky behavior. I guess it won't hurt to lodge a request if you feel so inclined.

    Best regards,

    LBJ
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I agree that a feature request would be useful here:

    Submit A Feature Request

    Feel free to vote and add your input to the request when it's added.

    Thank you.
     
  8. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    I have created a feature request which describes the current issue with RBL rejection messages in the absence of data in the TXT

    Please consider voting for this feature request. For anybody who uses a custom RBL (like b.barracudacentral.org) which does not provide information in a TXT record upon a positive hit, the rejection message (both in the Exim logs and that which is sent to the sender) is missing relevant useful information.

    cPanel Feature Requests - Allow custom rejection messages for RBLs that do not return a TXT record

    Mike
     
  9. pestemal

    pestemal Registered

    Joined:
    Mar 25, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Türkiye
    cPanel Access Level:
    Root Administrator
    I have writed a custom message from long way.

    Edit this file:
    /usr/local/cpanel/etc/exim/templates/acls/ACL_RBL_BLOCK/rbl

    Change only this row:
    set acl_m9 = "JunkMail rejected - $sender_fullhost is in an RBL, see $dnslist_text"

    For example:
    set acl_m9 = "JunkMail rejected - $sender_fullhost is in an RBL, see ($dnslist_domain) $dnslist_text"

    * $dnslist_domain variable is give us rbl dns name (example: b.barracudacentral.org)

    After saving rbl file, do that on the command line:
    /scripts/buildeximconf
    service exim restart

    (or Enter WHM >> Exim Configuration Manager, Advanced Editor tab - Save)

    Tataaaa :)
     
Loading...

Share This Page