Skip to main content

Query to URIBL was blocked - pDNS & Bind

Comments

9 comments

  • SimpleTechGuy
    Hi, I spent several hours dealing with this as well, so I feel your pain. I heavily researched the pdns recursor option, but it was fairly complex and since it's not officially a part of cpanel, then it's not supported and would most likely have issues during updates. **note, there is a feature request for this, so vote if you think it will help: /etc/mail/spamassassin/local.cf
    ) Sorry it's not more detailed, but this option does seem to be working fine. Hope it helps.
    0
  • bloatedstoat
    Hey, first of all thanks for taking the time to reply despite not knowing the path you took to get to the solution, I get the drift of where you're coming from. It's a pretty convoluted way of getting something that, in my firm opinion, should work right out of the box on mail servers given the junk that hits mine every day, surely I'm not alone here. The blacklists are so effective though, particularly Barracuda, that I feel exposed without them. I'm loathe to spin up another box just to get this working but clearly I have two choices, do as you suggest or move from pDNS on our main server to Bind. Further contributions to this thread welcome. Thanks again SimpleTechGuy, appreciate the help. Cheers.
    0
  • cPRex Jurassic Moderator
    The short story from my end is that you have to be using non-public resolvers in order for the RBLs to work properly. Do you have those set in /etc/resolv.conf?
    0
  • SimpleTechGuy
    The short story from my end is that you have to be using public resolvers in order for the RBLs to work properly. Do you have those set in /etc/resolv.conf?

    Hi @cPRex, I was under the impression that you were NOT supposed to be using public resolvers...
    0
  • SimpleTechGuy
    BTW, @bloatedstoat, I forgot to mention that according to
    0
  • SimpleSonic
    Try editing: /etc/mail/spamassassin/local.cf At the end of the file add: dns_server 127.0.0.1 Then restart Exim: service exim restart
    0
  • cPRex Jurassic Moderator
    @SimpleTechGuy - you're correct, I just missed a word. You do NOT want public resolvers in that file if you want the RBL lookups to work. I'll edit my previous post.
    0
  • bloatedstoat
    Thanks for the help, I've used our data centre DNS in resolv.conf and this appears to have done the trick. Nice simple fix. Cheers.
    0
  • cPRex Jurassic Moderator
    I'm glad that's all it was!
    0

Please sign in to leave a comment.