manage domain IPS file for exim

Albert

Verified User
Joined
Oct 25, 2019
Messages
57
Hello,

In this tutorial "DA to manage domain IPS file for exim outbound IP/interfaces" we can enable Multi IP Domain

I did it and it's working well, but it requires directadmin.conf setting:
Code:
add_domain_to_domainips=1

The tutorial said : internal default is:
Code:
add_domain_to_domainips=0

So this ligne is existing....

Where is this line ? I went in /usr/local/directadmin/conf/directadmin.conf but I don't have it
Code:
add_domain_to_domainips=
 
Hi,

If value is missing from directadmin.conf, then the default one is used instead. You may find loaded value with the following command:

Code:
/usr/local/directadmin/directadmin c|grep add_domain_to_domainips

You may set value as desired with the following commands:

Code:
/usr/local/directadmin/directadmin set add_domain_to_domainips 1
systemctl restart directadmin

Where "1" is your desired value. After setting it, you may verify your value has indeed changed with the command mentioned earlier:

Code:
/usr/local/directadmin/directadmin c|grep add_domain_to_domainips
 
May I can simply open

# nano /usr/local/directadmin/conf/directadmin.conf

Add at the first ligne
add_domain_to_domainips=1
and
systemctl restart directadmin

I will get the same result, right ?
 
Yes, you may, just note that you may create syntax errors/duplicates when editing directadmin.conf file directly. ./directadmin set command will guarantee correct syntax for you.
 
Back
Top