blob: 460e26b713a0f5d819fbe05746f9829eae708974 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
test_postmap () {
echo -n "get $1, port 2244:"
postmap -v -q $1 tcp:localhost:2244 2>&1 |grep recv:
echo -n "get $1, port 4242:"
postmap -v -q $1 tcp:localhost:4242 2>&1 |grep recv:
echo
}
test_postmap dummy
test_postmap dummy@dev.bitmask.net
test_postmap dummy@nowhe.re
test_postmap fooooo
test_postmap fooooo@dev.bitmask.net
test_postmap fooooo@nowhe.re
|