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