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

Re: need help configuring hosts.deny



on Wed, Apr 25, 2001 at 09:44:00AM +0200, Sebastiaan (sebas@sacred-key.org) wrote:
> Hi,
> 
> I have reason to belive that my computer is used as a relay host for
> spam. Walking through the logs, I found one ip number which has no ip
> name, but it connects the computer every hour or so and sends some mail.
> 
> I want to block this address, but I have not succeeded in configuring the
> hosts.deny file correctly. This is what I have:
> 
> hosts.allow: empty
> hosts.deny:
> ALL: 1.2.3.4
> ALL: PARANOID
> 
> where 1.2.3.4 is the spammers' address. I want to deny him smtp access (or
> all access to this machine).
> 
> I tried to do this with my own ip, but I was still able to connect to port
> 25. Telnet access was forbidden however.
> 
> I use Postfix as maildaemon.
> 
> Thanks in advance,
> Sebastiaan

I don't believe you want to be messing around in hosts.allow for this.

I'm not specifically familiar with postfix, but suspect there's a fairly
straightforward way to disable mail relays.  Check your docs.

Why do you allow them in the first place?

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpPO_SzIsPlZ.pgp
Description: PGP signature


Reply to: