Thanks to Atomic Turtle for this very quick and easy to use RPM, Here is how to install it.
- wget http://www.atomicorp.com/channels/atomic/centos/5/x86_64/RPMS/spamdyke-4.0.10-4.el5.art.x86_64.rpm
- rpm -Uvh spamdyke-4.0.10-4.el5.art.x86_64.rpm
- killall -HUP xinetd
GreyListing makes all the difference to spam levels on a server. Well worth installing.
Greylisting will not work by default until you create the greylist directories.
http://www.blueoryx.info/linux_administration/spamdyke has instructions on how to do this.
cd /var/qmail/<span class="search_hit">spamdyke</span>/<span class="search_hit">greylist</span>/
for i in `ls -1 /var/qmail/mailnames`; do mkdir $i; done
chown -R qmaild:nofiles /var/qmail/<span class="search_hit">spamdyke</span>