Rod Whitworth wrote:
nixpix:
#!/bin/sh
cd /root/data
rm -f nixspam
ftp http://www.openbsd.org/spamd/nixspam.gz
if [ $? -eq 0 ] ; then
        gunzip nixspam.gz
        cut -d " " -f 1 nixspam >/var/db/nixspam
fi


Any particular reason why you don't use:
        zcat nixspam.gz | cut -d " " -f 1 > /var/db/nixspam

Obviously the above script must run before spamd-setup; how much sooner do you run it?

Reply via email to