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

Re: [cobalt-security] IMAP - turn it off?



On Thu, 25 Apr 2002, Sean Ward wrote:
> Does the RAQ3 need port 143 open? I'm wondering if it's used at all by
> any of the apps for things like mail forwarding on or off the box,
> CDONTS, javamail, etc. 
> 
> If there's no need for the service, how does one disable it?
>
I have used this before;;;

Turn off IMAP: (thanks to shimi on the cobalt-security list)
 #vi or pico /etc/inetd.conf
 (do a search for imap and comment out this line:)
 #imap stream tcp nowait root /usr/sbin/tcpd imapd
 Restart the inet server:
 # killall -HUP inetd
 # vi or pico /usr/admserv/cgi-bin/.cobalt/services/services.cgi
 Change this line:
 $ret=Cobalt::swatch::swatch_set_service_on("imap");
 To this:
 $ret=Cobalt::swatch::swatch_set_service_off("imap");
 Now go into the GUI's Control Panel and just hit the 'Save Changes' button.
 This keeps Active Monitor from grumbling about IMAP being turned off.

--
Gerald Waugh
http://www.frontstreetnetworks.com
Front Street Networks LLC - 203-785-0699
229 Front Street, Ste. #C, New Haven CT, 06513-3203