toolkit/func/core/pkg_postfix/10-test-helo.sh
2021-07-04 23:50:25 -07:00

4 lines
125 B
Bash
Executable file

#!/bin/bash
r_log "postfix" "Test helo request"
echo "helo test" | nc -w 3 127.0.0.1 25 | grep -q '250'
r_checkExitStatus $?