Support /
Knowledge Base

Loading Multiple DNS Domains In The SMTP Proxy’s Configuration


The task of defining and then enabling DNS domains in the SMTP proxy’s configuration can be a tedious job when you have over 10 domains to insert/enable. That’s why we come to rescue with a script that will automatically define and enable the domains passed in a text file, one per line. The script can be downloaded from here. To have it working please follow the steps detailed below:
  • Download the script on your computer by clicking on the above link
  • Copy the script to your Syneto appliance:
$ scp load_domains root@yoursynetoIP:/volatile
  • Copy the file containing your domains (one per line):
$ scp domains.txt root@yoursynetoIP:/volatile
  • Log on to you Syneto appliance ssh console:
$ ssh root@yoursynetoIP
  • Turn on the script’s executable bit
# chmod +x /volatile/load_domains
  • Execute the script passing as argument the text file:
# /volatile/load_domains --file ./domains.txt