Learn how to customize & compile Build exim conf via DirectAdmin. Our DirectAdmin Support team is here to help you with your questions and concerns.
Customize & Compile Build exim conf via DirectAdmin
If you are looking to enhance the performance and customization of your SpamBlocker exim.conf, you are in the right place.
Today, we are going to take a look at how to update, customize, compile, and patch the exim.conf file via DirectAdmin’s CustomBuild tool. Let’s dive in!
Updating SpamBlocker exim.conf
To update your SpamBlocker exim.conf, follow these steps:
- To begin with, open a terminal and head to the custombuild directory:
cd /usr/local/directadmin/custombuild
- Then, update CustomBuild as seen here:
./build update
- Now, set Exim and SpamAssassin options:
./build set exim yes
./build set eximconf yes
./build set spamassassin yes
- At this point, we have to perform another update:
./build update
- Then, get ready to build and update the Exim configuration:
./build exim
./build exim_conf
Customizing exim.conf
Exim.conf is handled separately from CustomBuild. So, we have to make sure it is set to ‘yes’ in the options.conf:
# grep eximconf /usr/local/directadmin/custombuild/options.conf
eximconf=yes
To customize exim.conf, use `/etc/exim.strings.conf.custom` and `/etc/exim.variables.conf.custom`. If direct modification of `/etc/exim.conf` is needed, we can either set `eximconf` to ‘no’ in options.conf or use the immutable bit as seen here:
chattr +i /etc/exim.conf
Compiling Exim from Source
We can compile Exim from the source via CustomBuild:
- To begin with, update CustomBuild:
./build update
- Then, set the Exim option:
./build set exim yes
- Next, build Exim:
./build exim
- Finally, restart Exim to apply the changes.
Custom exim.conf Override
To store and copy any custom changes to the /etc/exim.conf, use CustomBulid 2.0 revision 1995+ to add a custom exim.conf to this location:
/usr/local/directadmin/custombuild/custom/exim/exim.conf
Now, the call to `./build exim_conf` will use this custom exim.conf.
Patching exim.conf with DirectAdmin and CustomBuild
Sometimes, certain changes in exim.conf cannot be changed in the included file. This is where a patch comes in handy. We can create one with these steps:
- To begin with, create a patch hook:
- Then, edit the patch script:
- Finally, apply the patch by running this command as root:
/usr/local/directadmin/custombuild/build exim_conf
This script automatically patches your exim.conf whenever you install it with CustomBuild.
Mastering our Exim configuration leads to a secure mail server. With these steps, we can easily update, customize, compile, and patch our exim.conf via DirectAdmin and CustomBuild.
[Need assistance with a different issue? Our team is available 24/7.]
Conclusion
In brief, our Support Experts demonstrated how to customize & compile Build exim.conf via DirectAdmin.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments