Custom Changes to exim.conf

hci

Verified User
Joined
Jun 15, 2004
Messages
352
I have several custom changes made to exim.conf. Is there a way to allow those changes to survive after a ./build exim_conf?
 

hci

Verified User
Joined
Jun 15, 2004
Messages
352
The top of that file states:

#Do not edit this file directly
#edit /etc/exim.variables.conf.custom

One of the things I want to add:

deny recipients = lsearch;/etc/virtual/over_quota_email
message = Email account over quota
 

wtptrs

Verified User
Joined
Jul 13, 2015
Messages
150
Create a new empty file /etc/exim.variables.conf.custom and add those two lines. To apply your changes:

Code:
cd /usr/local/directadmin/custombuild
./build exim_conf
 

hci

Verified User
Joined
Jun 15, 2004
Messages
352
That does work for variables. I am assuming I must put customizations to acl lists in:

/etc/exim.acl_check_recipient.pre.conf

Will "./build exim_conf" overwrite any changes I add too:

/etc/exim.spamassassin.conf
 
Top