]> Sergey Matveev's repositories - sgmon.git/blob - helper/smtp
Initial commit
[sgmon.git] / helper / smtp
1 #!/bin/sh -e
2
3 proto=$1
4 host=$2
5 printf "QUIT\r\n" | nc -${proto} -w 30 $host 25 | grep -q "220 $host ESMTP"