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

Re: [cobalt-users] Getting Hacked! Please HELP ASAP!



At 16:23 25/08/00 -0400, you wrote:
>On Fri, Aug 25, 2000 at 08:21:32PM +0100, Babu P. Yogarajah wrote:
>> Can anyone post me a sample for only blocking sendmail
>> through /etc/hosts.deny for certain IPs.
>
>/etc/hosts.deny is only used by tcpwrappers when going through
>inetd.  Sendmail usually runs as a daemon, you're better off
>using the access db usually in /etc/mail/access, the format
>is real simple such as:
>
>192.168.10.3	REJECT
>
>You can specify the entry like:
>
>192.168.10.	REJECT

Hi Robert

I normally do follow /etc/mail/access method for sendmail and
/etc/hosts.deny for telnet, ftp and etc.

But someone earlier suggested for /etc/hosts.deny method for 
sendmail; I doubt it is not the right method !

Thanks.

Best regards,
Babu P. Yogarajah