How does custombuild handle customized exim.conf?

scrupul0us

Verified User
Joined
Jan 8, 2011
Messages
63
Location
New York
We run a rather customized exim.conf based on a much older spamblocker version.

Things like:

-send email from accounts dedicated IP
-clamAV
-dkim

...etc

I know in CB I can ./build exim_conf but theres nothing in the way of documentation (that I can find) that speaks to how it handles this.

Essentially, I'm looking to update exim.pl and exim.conf but also have a way to keep some customizations.

I think I'd prefer using custombuild over:

http://www.nobaloney.net/downloads/...r4.2/exim.conf-SpamBlockerTechnology-v4.2.txt

...as that has 62 edits to go through.

Looking for thoughts/ideas...

Thanks =)
 
custombuild will not save your customization, will just install the latest standard compatible exim.conf (so no clamav/spamassassin/dkim).

Regards
 
You are correct about dkim, however custombuild 2.0 will add whats needed for clamav and spamassassin automatically for you. From /etc/exim.conf:

line 96
.include_if_exists /etc/exim.clamav.load.conf

line 473
.include_if_exists /etc/exim.clamav.conf

line 555
.include_if_exists /etc/exim.spamassassin.conf
 
Thanks for this hint, actually is a lot of time i dont use default exim.con but SpamBlocker4 so, i did wrote by memory :)

Regards
 
Hrm... I'm surprised there isn't an external DKIM file as well to be included... lest spamblocker includes this in the main exim.conf by default now?

It would be nice to have an official patch for exim.conf in custombuild for sending email from a users dedicated IP as well. This way a couple boneheads on the main IP can't ruin the lives of everyone else trying to send mail.

I guess I could simply update one box, then make the edits and push them put across all the servers...
 
I guess I could simply update one box, then make the edits and push them put across all the servers...

That is what I always do. And then I also have /etc/exim.conf in a svn subversion system, so that I can merge new changes to exim.conf and add back my own customizations.
 
I don't know. I just want to mention that I have never done the steps in http://help.directadmin.com/item.php?id=51 , instead I have just always read the changelogs after each new DirectAdmin version release, and when the changelog mention that there is a new exim.conf or exim.pl update version, I have just downloaded/wget the new exim.conf or exim.pl and replaced (after merging my own edits) and restarted exim and dovecot. So I have never done the steps in that link/guide. But I am also not using nobaloney new spamblocker, only the default exim.conf from DirectAdmin.
 
I don't know if CustomBuild will ever update exim.pl if it exists, but I'm guessing it will.

I believe that it won't overwrite exim.conf or custom.pl unless specifically set to do so (in the options.conf file in CB2). I maintain my own exim.conf file separately.

Does the exim.conf file work with include files? If so, someone please post documentation, as this could be a great way to make a modular system. If so, I'll be happy to implement include files in the next version.

Jeff
 
Back
Top