Blame tests/p_postfix/10_postfix_smtp.sh

Christoph Galuschka 384d96
#!/bin/sh
Christoph Galuschka 384d96
# Author: Athmane Madjoudj <athmanem@gmail.com>
Christoph Galuschka 384d96
Christoph Galuschka 384d96
t_Log "Running $0 - Postfix SMTP test."
Christoph Galuschka 384d96
40b4c8
if [ "$CONTAINERTEST" -eq "1" ]; then
40b4c8
    t_Log "Running in container -> SKIP"
40b4c8
    exit 0
40b4c8
fi
40b4c8
19a135
echo "helo test" | nc -w 3 127.0.0.1 25 | grep -q '250'
Christoph Galuschka 384d96
Christoph Galuschka 384d96
t_CheckExitStatus $?