[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: getting hosts.allow to trigger an email.....



>I'm using the following:
> 
>in.telnetd : 192.168.0.1 : mail -s "192.168.0.1 detected"
>ggallen slackinc com <mailto:ggallen slackinc com> 
> 
>If I telnet from 192.168.0.1, I get rejected, not accepted
>If I remove the mail.... portion of the entry, I'm acceped and allowed to
>login, but
>   I don't get an email however.
> 
>I've tried:
> 
> : mail.....
> : (mail...)
> : (mail...) &
>and also used the /bin/mail reference in each of the above
> 
>None of the above seem to work.
> 
>My .deny file has ALL:ALL

I wouldn't do it this way. I would use portsentry, which will send you 
emails for more than just port 23 if you want. HTH

-- 
Keith Mastin       BeechTree Information Technology Services Inc.
137 Laird Drive    Toronto    M4G 3V5     http://www.beechtree.ca
  (416)696-6070      Fax(416)696-6072      kmastin beechtree ca





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]