Develop and Download Open Source Software

Browse Subversion Repository

Contents of /checksmtp.bash

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22 - (show annotations) (download)
Wed Feb 19 06:43:47 2020 UTC (4 years, 3 months ago) by elge
File size: 815 byte(s)
imporing the rest of shot1 incl enforce check

1 #!/bin/bash
2
3 [[ ! -x `which expect` ]] && echo install expect first && exit 1
4
5 #echo -n entering domains/mx/dane/ ...
6 #mkdir -p domains/mx/dane/
7 #cd domains/mx/dane/
8
9 #echo -n splitting mx.unique into 50 pieces...
10 #split -a2 -d -nl/50 ../mx.unique mx.unique && echo done
11
12 echo -n starting 50 processes to process those...
13 #for piece in mx.unique49; do
14 for piece in mx.unique[0-9][0-9]; do
15 echo writing to $piece.starttls
16 for mx in `cat $piece`; do
17 timeout --preserve-status --kill-after=5s 1m $HOME/masspie/checksmtp.exp $mx
18 done > $piece.starttls 2> $piece.starttls.enforce &
19 unset mx
20 done && echo done; unset piece
21
22 cat <<EOF
23
24 watch live with
25
26 ps auxfww | grep checksmtp | grep -v grep
27 tail -F mx.unique00.starttls
28 tail -F mx.unique00.starttls.enforce
29
30 EOF
31
32 time wait
33

Properties

Name Value
svn:executable *

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26