login: root

Script: populating the domainips file for the exim automatically (DirectAdmin)

shell-linux
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.


Leave a Reply

Close
%d bloggers like this: