diff options
author | steve <steve@FreeBSD.org> | 1999-01-26 03:20:56 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-01-26 03:20:56 +0000 |
commit | 4606072e4544ea0ee04639e5051c5247bfaa11b0 (patch) | |
tree | bc938bf8419c535a8d606f98cd0615df430be353 /mail | |
parent | ab3b5d668010d2b8d6ed2ba384d8199a1cc37cee (diff) | |
download | FreeBSD-ports-4606072e4544ea0ee04639e5051c5247bfaa11b0.zip FreeBSD-ports-4606072e4544ea0ee04639e5051c5247bfaa11b0.tar.gz |
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')
-rw-r--r-- | mail/rlytest/Makefile | 33 | ||||
-rw-r--r-- | mail/rlytest/distinfo | 1 | ||||
-rw-r--r-- | mail/rlytest/pkg-comment | 1 | ||||
-rw-r--r-- | mail/rlytest/pkg-descr | 14 | ||||
-rw-r--r-- | mail/rlytest/pkg-message | 18 | ||||
-rw-r--r-- | mail/rlytest/pkg-plist | 1 |
6 files changed, 68 insertions, 0 deletions
diff --git a/mail/rlytest/Makefile b/mail/rlytest/Makefile new file mode 100644 index 0000000..b7adfde --- /dev/null +++ b/mail/rlytest/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: rlytest +# Version required: 1.15 +# Date created: 16 January 1999 +# Whom: Paul Chvostek <paul@it.ca> +# +# $Id$ +# + +DISTNAME= rlytest +PKGNAME= rlytest-1.15 +CATEGORIES= mail security +MASTER_SITES= http://www.unicom.com/sw/rlytest/ + +MAINTAINER= paul@it.ca + +MAN1= rlytest.1 + +USE_PERL5= yes +NO_WRKSUBDIR= yes +NO_BUILD= + +post-patch: + ${MV} ${WRKSRC}/rlytest ${WRKSRC}/rlytest.chip; \ + ${SED} 's:/usr/local/bin/perl:${PERL}:' < ${WRKSRC}/rlytest.chip > ${WRKSRC}/rlytest + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/rlytest ${PREFIX}/bin/rlytest; \ + ${INSTALL_MAN} ${WRKSRC}/rlytest.1 ${MANPREFIX}/man/man1/rlytest.1 + +post-install: + ${CAT} ${PKGDIR}/MESSAGE + +.include <bsd.port.mk> diff --git a/mail/rlytest/distinfo b/mail/rlytest/distinfo new file mode 100644 index 0000000..ecb6e9a --- /dev/null +++ b/mail/rlytest/distinfo @@ -0,0 +1 @@ +MD5 (rlytest.tar.gz) = ca22ca9cccd9710fd85cff70da72071d diff --git a/mail/rlytest/pkg-comment b/mail/rlytest/pkg-comment new file mode 100644 index 0000000..96db3e4 --- /dev/null +++ b/mail/rlytest/pkg-comment @@ -0,0 +1 @@ +Test an SMTP host for third-party relay. diff --git a/mail/rlytest/pkg-descr b/mail/rlytest/pkg-descr new file mode 100644 index 0000000..5c1b28f --- /dev/null +++ b/mail/rlytest/pkg-descr @@ -0,0 +1,14 @@ +The rlytest utility tests a host to determine whether it will relay +third-party email. It will try to relay an email message to yourself +through that host. A host that allows third-party relay is subject to +attack by Internet vandals, and frequently is hijacked by spammers to +relay massive amounts of junk email. A host that allows third-party +relay should IMMEDIATELY be secured, disconnected, or shunned as a +menace to the Internet. + +See http://www.unicom.com/sw/#rlytest for mor information. + +rlytest was written by Chip Rosenthal, and is featured at +http://maps.vix.com/tsi/ and http://www.badrelay.org/. + +- Paul Chvostek <paul@it.ca> diff --git a/mail/rlytest/pkg-message b/mail/rlytest/pkg-message new file mode 100644 index 0000000..898425a --- /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 + diff --git a/mail/rlytest/pkg-plist b/mail/rlytest/pkg-plist new file mode 100644 index 0000000..a35f66e --- /dev/null +++ b/mail/rlytest/pkg-plist @@ -0,0 +1 @@ +bin/rlytest |