login: root

Tag Archive: exim

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!!!):

note: You may add this script to cron, for automatic ‘domainips’ updates.

%d bloggers like this: