tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "richard n. frank" <rootrnf () wolfram ! llnl ! gov>
To: tru64-unix-managers
Subject: SUMMARY: how to get tcpwrappers to mail info
Date: Fri, 07 May 1999 18:49:30 +0000	[thread overview]
Message-ID: <96079042215578.tru64-unix-managers.marc@archive.invalid> (raw)

Many thanks to:

Mike Iglesias <iglesias@draco.acs.uci.edu>
Richard Bemrose <rb237@phy.cam.ac.uk>
Mandell Degerness <Mandell.Degerness@gems2.gov.bc.ca>
Robert R. Schneider <robert@pe.utexas.edu>

I had several problems.

1) Aparantly TCPwrappers stops processing when a match is made.
2) I was using the wrong mail program
3) I needed a subject switch

Solution:

# Hosts.allow
#
telnetd: 128.115.2., [... as many hosts as you want,] 128.115.82.:\
 spawn = /usr/sbin/safe_finger -l @%h | /usr/bin/mailx -s "%H-%h-%d" rnfrank@llnl.gov &

1) Attach the spawn line to the initial telnetd line
2) use "mailx" rather than "mail"
3) do  "mailx -s"

Thanks again for the GREAT and SPEEDY help.
                                            rich frank

                 reply	other threads:[~1999-05-07 18:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox