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

Re: Many ports open by default



On 04-May-01, 07:49 (CDT), Turbo Fredriksson <turbo@bayour.com> wrote: 
> Quoting mdanish@andrew.cmu.edu:
> 
> > On Mon, Apr 30, 2001 at 11:52:46PM +0000, Will Lowe wrote:
> > > > > I think it's safe to assume that your system MUST have a working MTA of
> > > > > some sort (even if it's local-only, which is supported by eximconfig).
> > > > This is true, but does it need to be world-accessible?  There should
> > > > be a way to either have it listen on localhost only, or not listen on
> > > 
> > > Sure, don't run the daemon at all.  When you install exim, "rm
> > > /etc/init.d/rc?.d/S*exim" and it won't start.  Local processes will be
> > /etc/rc?.d/S*exim
> 
> *beep, wrong* :)
> 
> update-rc.d -f exim remove
> 

*beep*, *wrong* :)

The problem with "update-rc.d -f exim remove" is that it removes *all*
the links, not just the S*exim links. The next time exim is upgraded,
it's postinst will re-install all the links. Just rm'ing the S*exim
links will produce the desired affect.

Steve

-- 
Steve Greenland <stevegr@debian.org>
(Please do not CC me on mail sent to this list; I subscribe to and read
every list I post to.)



Reply to: