comparison dnsbl.rc @ 16:2ae8d953f1d0

add scanning for bare hostnames
author carl
date Thu, 29 Apr 2004 21:56:22 -0700
parents 96a9758165cd
children d95af8129dfa
comparison
equal deleted inserted replaced
15:6a21f7a3b002 16:2ae8d953f1d0
19 case "$1" in 19 case "$1" in
20 start) 20 start)
21 # Start daemons. 21 # Start daemons.
22 echo -n "Starting dnsbl-milter: " 22 echo -n "Starting dnsbl-milter: "
23 cd /var/dnsbl # conf file is here 23 cd /var/dnsbl # conf file is here
24 ./dnsbl -p local:/var/run/dnsbl.sock 24 ./dnsbl -d -p local:/var/run/dnsbl.sock
25 RETVAL=$? 25 RETVAL=$?
26 sleep 3 26 sleep 3
27 echo 27 echo
28 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dnsbl 28 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dnsbl
29 ;; 29 ;;