#!/bin/sh

# Process blacklists into a usable .db database for exim

# Written by Christoph Lameter <clameter@debian.org> Oct 25, 1997
# modified by Craig Sanders 19971122

source /usr/lib/spamdb/constants

cd $SPAMDB

# i have no idea at the moment how exim handles email addresses, so 
# this exim converter only does SpamDomains at the moment.

cat $SPAMDB/SpamDomains | /usr/sbin/exim_dbmbuild - spam.db

# The /etc/exim.conf should contain the following to enable
# the blacklist
# sender_verify = true
# sender_reject = dbm;/var/spamdb/spam.db
