#!/bin/sh # Author: Athmane Madjoudj <athmanem@gmail.com> t_Log "Running $0 - Sendmail SMTP test." echo "helo test" | nc -4 -w 3 localhost 25 | grep -q '250' t_CheckExitStatus $?