comparison test.bash @ 4:15a7e942adec

updates to use dcc conf files
author carl
date Wed, 21 Apr 2004 12:52:29 -0700
parents 96a9758165cd
children 793ac9cc114d
comparison
equal deleted inserted replaced
3:7e1eb343a825 4:15a7e942adec
14 echo start the milter 14 echo start the milter
15 mkdir -p /var/run/dnsbl 15 mkdir -p /var/run/dnsbl
16 chmod 700 /var/run/dnsbl 16 chmod 700 /var/run/dnsbl
17 mv -f $pid $pid.save 17 mv -f $pid $pid.save
18 rm -f /var/run/dnsbl/dnsbl.sock 18 rm -f /var/run/dnsbl/dnsbl.sock
19 ./dnsbl -p local:/var/run/dnsbl/dnsbl.sock & 19 ./dnsbl -c -p local:/var/run/dnsbl/dnsbl.sock >check.txt 2>&1
20 sleep 5 20 #sleep 5
21 P2=`cat $pid` 21 #P2=`cat $pid`
22 mv -f $pid.save $pid 22 #mv -f $pid.save $pid
23 echo started dnsbl milter as process $P2 23 #echo started dnsbl milter as process $P2
24 #
25 #/usr/lib/sendmail -bd -Ctest.cf -Ldnsbl
26 #sleep 5
27 #P3=`head -1 /var/run/sm-test.pid`
28 #echo started sendmail as process $P3
29 #
30 #echo eventually "'"kill -KILL $P2 $P3"'"
24 31
25 /usr/lib/sendmail -bd -Ctest.cf -Ldnsbl
26 sleep 5
27 P3=`head -1 /var/run/sm-test.pid`
28 echo started sendmail as process $P3
29
30 echo eventually "'"kill -KILL $P2 $P3"'"
31