diff options
author | steve <steve@FreeBSD.org> | 1999-01-26 11:20:56 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-01-26 11:20:56 +0800 |
commit | 4606072e4544ea0ee04639e5051c5247bfaa11b0 (patch) | |
tree | bc938bf8419c535a8d606f98cd0615df430be353 /mail/rlytest/pkg-message | |
parent | ab3b5d668010d2b8d6ed2ba384d8199a1cc37cee (diff) | |
download | freebsd-ports-gnome-4606072e4544ea0ee04639e5051c5247bfaa11b0.tar.gz freebsd-ports-gnome-4606072e4544ea0ee04639e5051c5247bfaa11b0.tar.zst freebsd-ports-gnome-4606072e4544ea0ee04639e5051c5247bfaa11b0.zip |
Initial import of rlytest version 1.15.
Test an SMTP host for third-party relay.
PR: 9531
Submitted by: Paul Chvostek <paul@it.ca>
Diffstat (limited to 'mail/rlytest/pkg-message')
-rw-r--r-- | mail/rlytest/pkg-message | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/rlytest/pkg-message b/mail/rlytest/pkg-message new file mode 100644 index 000000000000..898425a4b109 --- /dev/null +++ b/mail/rlytest/pkg-message @@ -0,0 +1,18 @@ + +NOTE: If you wish to make easier use of the rlytest program from within +scripts, you might want to modify the exit codes it uses. Line 122 of +the script contains the exit code used if the relay was accepted (bad), +and line 165 contains the exit code used if the relay was rejected +(good). The original author has expressed a wish that his code not be +modified automatically in this way by this distribution, but if you wish +to modify your local copy, you should feel free to do so. + +If you just change the "0" line line 122 to a "1", then in shell scripts +you'll be able to use constructs like: + + if /usr/local/bin/rlytest $hostname >/dev/null 2>/dev/null ; then + echo "$hostname is good" + else + echo "$hostname is evil" + fi + |