Lock down sendmail?

Adil Kodian akodian-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Jan 28 20:04:36 UTC 2005


-----Original Message-----
From: owner-tlug-lxSQFCZeNF4 at public.gmane.org [mailto:owner-tlug-lxSQFCZeNF4 at public.gmane.org]On Behalf Of Robert
Brockway
Sent: Friday, January 28, 2005 10:54 AM
To: tlug-lxSQFCZeNF4 at public.gmane.org
Subject: Re: [TLUG]: Lock down sendmail?


On Fri, 28 Jan 2005, William O'Higgins wrote:

> what I want.  Basically, this is what I'm hoping for:
>
> ACCEPT: local mail only
> SEND:	local mail only

When I need to do this I use a firewall.  It's a Linux box right?
Configure iptables to REJECT any attempts to connect to tcp/25 in the
OUTPUT chain on the box itself.



just configure postfix/sendmail to listen ONLY to localhost .. you dotn need
a firewall or anything.


--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list