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 |
|
|
Athmane Madjoudj |
92ef9b |
echo "helo test" | nc -w 3 localhost 25 | grep -q '250'
|
|
Athmane Madjoudj |
d2d805 |
|
|
Athmane Madjoudj |
d2d805 |
t_CheckExitStatus $?
|