On Tue, Jan 29, 2002 at 03:26:41PM +0100, Pietro Cagnoni wrote:
> > 1)  what is the minimal package install to send emails from the shell ?? 
> > (mailx, zmailer-ssl ?) imperative is : SMTP daemon on port 25 must NOT be 
> > running.
> 
> install mailx + exim, then comment out the smtp line in /etc/inetd.conf,
> then killall -HUP inetd .

It is necessary also to do something about the script
/etc/init.d/exim, that is started when the system boots.
This script checks to see whether exim is started by
inetd. If exim is not started by inetd, then exim is
started by this script. Result : exim is still listening
on port 25.

The following should do all that is necessary :

/usr/sbin/update-inetd --disable smtp  ...takes care of inet.conf

update-rc.d -f exim remove             ...takes care of /etc/init.d/exim

I suppose you will need to kill exim if it was started by
/etc/init.d/exim.

netstat -at | grep smtp                ...see if all is well

t:irvine

-- 

 Whoever thinks a faultless piece to see,
 Thinks what ne'er was, nor is, nor ne'er shall be.

   Alexander Pope, An Essay On Criticism.

Reply via email to