Partner with experts to accelerate your digital transformation journey
Bobcares

Build exim conf DirectAdmin | Customize & Compile

PDF Header PDF Footer

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.

Customize & Compile Build exim conf via DirectAdmin

 

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:

  1. To begin with, open a terminal and head to the custombuild directory:
    cd /usr/local/directadmin/custombuild
  2. Then, update CustomBuild as seen here:
    ./build update
  3. Now, set Exim and SpamAssassin options:
    ./build set exim yes
    ./build set eximconf yes
    ./build set spamassassin yes
  4. At this point, we have to perform another update:
    ./build update
  5. 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:

  1. To begin with, update CustomBuild:
    ./build update
  2. Then, set the Exim option:
     ./build set exim yes
  3. Next, build Exim:
    ./build exim
  4. 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:

  1. To begin with, create a patch hook:
    Customize & Compile Build exim conf via DirectAdmin
  2. Then, edit the patch script:
    edit the patch script:
  3. 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.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Get featured on the Bobcares blog and share your expertise with a global tech audience.

WRITE FOR US
server management

Spend time on your business, not on your servers.

TALK TO US

Or click here to learn more.

Speed issues driving customers away?
We’ve got your back!