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

5 lines
125 B
Bash
Raw Normal View History

2024-08-15 03:52:26 +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 $?