Tag: domainips script
-
Script: populating the domainips file for the exim automatically (DirectAdmin)
Script for populating /etc/virtual/domainips records for the exim. Exim configuration change is described here It takes IP that is assigned to that domain in Directadmin and adds it to the domainsip file. Here is the script (Please note: it always overwrites the domainips file!!!): #!/bin/sh LIST=`/bin/cat /etc/virtual/domainowners | tr -d ' '` echo -n ''…