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

Re: [cobalt-users] RaQ4: Disabling POP3 and IMAP Services



On Thursday 23 May 2002 04:16 pm, Schachter, Abe wrote:
> I am managing a RaQ4 that services a number of majordomo-based mailing
> lists with several thousand internal subscribers.  The server is very
> lightly utilized as it is used strictly for sending outgoing announcements.
>  I've been instructed by management to disable the POP3 and IMAP services
> for security reasons.  Here is what I have found:
>
> - SMTP, POP3 and IMAP are treated as one and they are either all
>   enabled or all disabled.
> - Manually disabling POP3 and IMAP services in inetd.conf does not
>   prevent the changes from being overwritten by the web interface.
> - Commenting out swatch_set_service_on and swatch_set_service_off
>   for POP3 and IMAP in
>   /usr/admserv/cgi-bin/.cobalt/services/services.cgi allows me to
>   prevent changing these parameters in inetd.conf, but:
>
> Either way, Active Monitor flashes a Severe Problem with the email service
> because the POP3 and IMAP services are not responding.  Can anybody provide
> some guidance as to how to get Active Monitor to ignore POP3 and IMAP?
>
This will do imap not sure about pop3

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

-- 
Gerald Waugh 
http://www.frontstreetnetworks.com :: Phone. [011] 203.785.0699
Front Street Networks LLC | SOHO Networks & Web Site Hosting
229 Front Street, Ste. #C, New Haven, CT, 06513-3203 United States