Skip to main content

Spam Assassin and DNS Problems

Comments

2 comments

  • User Avatar
    quietFinn

    If you go to WHM -> Service Configuration -> Nameserver Selection
    you see in "Disadvantages" for PowerDNS:

     

    1
  • User Avatar
    mtindor

    You could set up one or two simple BIND nameservers at DigitalOcean or the droplet company of your choice, and then properly configure those servers to only respond to / allow requests from your hosting server.   Sure, it does cost money.   But, at DO for instance, you can spin up an instance for $5/mo (or $10/mo with backups), configure it, and use it as a resolver.

    And then you can specifically tell SpamAssassin to use those DNS servers instead of the ones in /etc/resolv.conf by adding the following to /etc/mail/spamassassin/local.cf :

    dns_options rotate
    dns_server 1.1.1.1
    dns_server 2.2.2.2

    # where 1.1.1.1 and 2.2.2.2 are the IP addresses of the DO boxes you've set up as resolvers.

    But, seriously, you will want to / need to make sure that those servers that you set up only respond to requests made by your hosting servers.   You don't want to be setting up public resolvers.

     

    0

Please sign in to leave a comment.