rspamd nameserver

Discussion in 'Plugins/Modules/Addons' started by javon, May 5, 2021.

  1. javon

    javon New Member

    I don't have local caching resolver at the host where is ISP Config installed. In fact, it probably asked me during an installation process if I want to have resolver installed or not. As I have caching resolver on my network I chose to not install it.
    But it brought a small inconsistency to the configuration of rspamd nameserver:
    There is a file - /etc/rspamd/local.d/options.inc - where is set nameserver. If I change it, after reboot it's set back to original.
    Where is the best place to have my custom configuration of nameserver? I tried /etc/rspamd/local.d/local_networks.inc as it is written in options.inc but with no success. I wrote this into local_networks.inc:
    Code:
    dns {
           nameserver = ["10.10.1.2:53:10"];
    }
    but it's ignored.
    Thanks a lot.
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Copy /usr/local/ispconfig/server/conf/rspamd_options.inc.master to the conf-custom/ directory and make your changes there in addition to /etc/rspamd/local.d/options.inc.
    FWIW, it will be set when you change server settings (including adding a new server), rebooting doesn't affect that.
     
  3. javon

    javon New Member

    Thanks a lot. It works.
     

Share This Page