6 lines
222 B
Plaintext
6 lines
222 B
Plaintext
|
|
host=imap.alexpires.me
|
||
|
|
timeout 5 openssl s_client -starttls smtp -connect ${host}:21115 -brief
|
||
|
|
timeout 5 openssl s_client -starttls smtp -connect ${host}:465 -brief </dev/null 2>&1 | grep -E "220|250" >/dev/null
|
||
|
|
echo $?
|
||
|
|
|