toolkit/func/core/pkg_postfix/10-test-helo.sh

5 lines
125 B
Bash
Raw Normal View History

2021-07-05 06:50:25 +00:00
#!/bin/bash
r_log "postfix" "Test helo request"
echo "helo test" | nc -w 3 127.0.0.1 25 | grep -q '250'
r_checkExitStatus $?