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

5 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 $?