Mercurial > dnsbl
comparison dnsbl.rc.in @ 178:d6531c702be3
embedded dcc filtering
author | carl |
---|---|
date | Thu, 04 Oct 2007 22:45:21 -0700 |
parents | 97d7da45fe2a |
children | 4db1457cd11a |
comparison
equal
deleted
inserted
replaced
177:a4d313c2460b | 178:d6531c702be3 |
---|---|
20 start) | 20 start) |
21 # Start daemons. | 21 # Start daemons. |
22 echo -n "Starting dnsbl-milter: " | 22 echo -n "Starting dnsbl-milter: " |
23 if [ ! -f /var/lock/subsys/dnsbl ]; then | 23 if [ ! -f /var/lock/subsys/dnsbl ]; then |
24 cd SYSCONFDIR/dnsbl # conf file is here | 24 cd SYSCONFDIR/dnsbl # conf file is here |
25 SBINDIR/dnsbl -d 10 -r /var/run/dnsbl/dnsbl.resolver.sock -p local:/var/run/dnsbl/dnsbl.sock | 25 DCCIFD= |
26 [ -S /var/dcc/dccifd ] && DCCIFD='-b /var/dcc/dccifd' | |
27 SBINDIR/dnsbl -d 10 $DCCIFD -r /var/run/dnsbl/dnsbl.resolver.sock -p local:/var/run/dnsbl/dnsbl.sock | |
26 RETVAL=$? | 28 RETVAL=$? |
27 pid=`pidof -s SBINDIR/dnsbl` | 29 pid=`pidof -s SBINDIR/dnsbl` |
28 if [ $pid ] | 30 if [ $pid ] |
29 then | 31 then |
30 success "Starting dnsbl milter:" | 32 success "Starting dnsbl milter:" |