How to revert exim.conf to the plain version without SpamBlocker ?

domu

Verified User
Joined
Jul 22, 2003
Messages
23
Since we are not going to use DirectAdmin any longer - I would like to run Exim without SpamBlocker. What would be the simplest way to keep our original settings. sans SpamBlocker related changes ?
 
if you meant, none any spam filter, you can do revert some config

in this link, It tutorial how to install SpamBlocker

Just do some revert ways
./build set blockcracking no
./build set easy_spam_fighter no
./build set spamd no

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set eximconf yes
./build set eximconf_release 4.5
./build set blockcracking no
./build set easy_spam_fighter no
./build set spamd no
./build set exim yes
./build exim
./build set dovecot_conf yes
./build dovecot_conf
./build update
./build exim_conf

if you use "rspamd" maybe you need to run command to remove
Code:
./build remove_rspamd
./build remove_rspamd_conf


maybe it need to do thing more this, If you use "rspamd"
 
Thank you for your answers, We are using Centos 6, so DirectAdmin does not work for us anymore, hence I can not use DA environment to change settings anymore. So, to rephrase my question - how can I do so from shell ?
 
Hello,

The whole setup of Exim from DirectAdmin is named as SpamBlockerTechnology, where SpamBlockerTechnology is a Trademark of NoBaloney Internet Services. See:

Code:
# SpamBlockerTechnology* powered exim.conf, Version 4.5.37
# December 10, 2020
# Exim configuration file for DirectAdmin

Beside the custom config for Exim, DirectAdmin use the following extras:

- SpamAssassin/Spamd
- BlockCracking
- EasySpamFighter
- RBL
- etc.

Please see https://forum.directadmin.com/threa...king-easy-spam-figther-and-new-exim-pl.50059/ for more details.

And I guess you want to disable some of the listed extras. And which ones?
 
Just want plain vanilla exim.conf with all settings for my server preserved.
I am accustomed with APF/BFD, and find it much easier to wrap my head around, and to write my own filters for BFD when needed.

Btw, is there some simple/elegant way to remove DA ?
 
I don't know of any means to simply remove DA and keeping all the needed stuff. User accounts and quota's are all done via DA.
Sorry if I was not clear enough, I meant - all settings for my server preserved in exim.conf only.

As for user accounts and quota - DA is just a nice user interface to system settings. Nothing unique to DA here, unless I am mistaken.
 
all settings for my server preserved in exim.conf only.
If I'm understanding you correct, then I would keep your current exim.conf and just remove what you don't want as @jamgames2 showed with the remove lines if you don't want those services.

Nothing unique to DA here, unless I am mistaken.
Yeah well... there are some scripts which DA uses for example for automated SSL certificates, but you could do all that manually.
I don't know for sure if there is anything wich can't work or would give issues without DA itself.
 
Just want plain vanilla exim.conf with all settings for my server preserved.

I believe a default exim.conf shipped by an OS maintainers won't be compatible with DirectAdmin. Anyway you are free to give a try. Download a needed config from an official repository of CentOS/Debian/Ubuntu/Exim maintainers and replace one under /etc/exim.conf and see how will it work. I haven't tested it myself, so I won't provide details here.
 
Back
Top