From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079042215578.tru64-unix-managers.marc@archive.invalid> From: "richard n. frank" Date: Fri, 07 May 1999 18:49:30 +0000 To: tru64-unix-managers Subject: SUMMARY: how to get tcpwrappers to mail info X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079042215578 Many thanks to: Mike Iglesias Richard Bemrose Mandell Degerness Robert R. Schneider 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