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

Re: limiting port 25 to an IP



On Sat, Oct 23, 2004 at 12:53:29AM +0200, Marcin Sochacki wrote:
> On Fri, Oct 22, 2004 at 02:11:01PM -0800, W.D.McKinney wrote:
> > 
> > We run Debian testing on some servers and I have this question.
> > Is it possible to keep port 25 down to a single IP ?
> 
> Use iptables.

In Exim(4), add something like this to your configuration file:

  local_interfaces = 127.0.0.1 : your.ip.address.here

That will make it listen on 127.0.0.1 (the local interface) and one official
IP address. You can omit the 127.0.0.1 of course.

Bye for now,
Ward.
-- 
Pong.be         -(   "Microsoft isn't evil, they just make really crappy   )-
Virtual hosting -(              operating systems." -- Linus               )-
http://pong.be  -(                                                         )-
GnuPG public key: http://gpg.dtype.org



Reply to: