How to update your exim.conf
Use '%' for wildcards and quotes for "exact phrases"
How to update your exim.conf Last Modified: Apr 15, 2017, 10:16 am
With CB2.0, you can update your SpamBlocker 4.x exim.conf more easily with:
./build set exim yes
./build set eximconf yes
./build set eximconf_release 4.5
./build set spamassassin yes
If you don't have CustomBuild 2.0, you can manually update your SpamBlocker 2.x exim.conf by running the following as root:
wget -O /etc/exim.conf http://files.directadmin.com/services/exim.confIf you are running dovecot (which you most likely are), you will need to re-patch your exim.conf:
wget -O /etc/exim.pl http://files.directadmin.com/services/exim.pl
chmod 755 /etc/exim.pl
touch blacklist_domains whitelist_from use_rbl_domains bad_sender_hosts blacklist_senders whitelist_domains whitelist_hosts whitelist_senders
if [ ! -e limit ]; then echo 0 > limit; fi
mkdir -p usage
chown mail:mail limit blacklist_domains whitelist_from use_rbl_domains bad_sender_hosts blacklist_senders whitelist_domains whitelist_hosts whitelist_senders limit usage
patch -p0 < /usr/local/directadmin/customapache/exim.conf.dovecot.patchNote that you only need to run the patch appropriate to the build system you have. If you have custombuild, run the 2nd one. If you don't know what you have, then run them both, as it won't hurt anything if you patch twice.
patch -p0 < /usr/local/directadmin/custombuild/exim.conf.dovecot.patch
Note that there are entries in the /etc/exim.conf that should be manually set for your system.
See the readme file for more information. (See the section labelled MANDATORY CHANGES to the SpamBlocker.exim.conf file)
Then restart exim:
/sbin/service exim restart
How to enable SpamAssassin on your server.
SpamBlocker install and extra modules
SPAM fighting tools in DirectAdmin
2003 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB
T8N 1P7 Canada. Mon-Fri 9AM-5PM MST