Mercurial > dnsbl
comparison test.bash @ 178:d6531c702be3
embedded dcc filtering
author | carl |
---|---|
date | Thu, 04 Oct 2007 22:45:21 -0700 |
parents | 97d7da45fe2a |
children |
comparison
equal
deleted
inserted
replaced
177:a4d313c2460b | 178:d6531c702be3 |
---|---|
11 echo start the milter | 11 echo start the milter |
12 mkdir -p /var/run/dnsbl | 12 mkdir -p /var/run/dnsbl |
13 chmod 700 /var/run/dnsbl | 13 chmod 700 /var/run/dnsbl |
14 #chown dnsbl:dnsbl /var/run/dnsbl | 14 #chown dnsbl:dnsbl /var/run/dnsbl |
15 [ -f "$pid" ] && mv -f $pid $pid.save | 15 [ -f "$pid" ] && mv -f $pid $pid.save |
16 #src/dnsbl -d 10 -r /var/run/dnsbl/dnsbl.resolver.sock2 -p local:/var/run/dnsbl/dnsbl.sock2 | 16 DCCIFD= |
17 #valgrind --leak-check=full --show-reachable=yes src/dnsbl -d 10 -r /var/run/dnsbl/dnsbl.resolver.sock2 -p local:/var/run/dnsbl/dnsbl.sock2 | 17 [ -S /var/dcc/dccifd ] && DCCIFD='-b /var/dcc/dccifd' |
18 valgrind src/dnsbl -d 10 -r /var/run/dnsbl/dnsbl.resolver.sock2 -p local:/var/run/dnsbl/dnsbl.sock2 | 18 #valgrind --leak-check=full --show-reachable=yes src/dnsbl -d 10 $DCCIFD -r /var/run/dnsbl/dnsbl.resolver.sock2 -p local:/var/run/dnsbl/dnsbl.sock2 |
19 valgrind --leak-check=full src/dnsbl -d 10 $DCCIFD -r /var/run/dnsbl/dnsbl.resolver.sock2 -p local:/var/run/dnsbl/dnsbl.sock2 | |
20 rm -f tracelog* | |
21 #strace -e trace=open,close,read,write -o tracelog -f -ff -x src/dnsbl -d 10 $DCCIFD -r /var/run/dnsbl/dnsbl.resolver.sock2 -p local:/var/run/dnsbl/dnsbl.sock2 & | |
19 sleep 5 | 22 sleep 5 |
20 P2=`cat $pid` | 23 P2=`cat $pid` |
21 [ -f "$pid.save" ] && mv -f $pid.save $pid | 24 [ -f "$pid.save" ] && mv -f $pid.save $pid |
22 echo started dnsbl milter as process $P2 | 25 echo started dnsbl milter as process $P2 |
23 | 26 |