Another option could be including an enable attribute for every service
James provides.
e.g.
<smtpserver enable="true">
...
</smtpserver>

when corresponding phoenix block will not be configured and initialized if
this is false.
I am using this for about one month in my project and so far - no problem.
Because, of course, running without need service is, first of all, a
potential security hole...
Andrei

----- Original Message -----
From: "Shawn Boyce" <[EMAIL PROTECTED]>
To: "James Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 10:35 PM
Subject: Re: switching off services


> Aah, good. I was wondering out to disable NNTP, which I don't need.
>
> Mikhail Kruk wrote:
>
> >Hi
> >I think this should be added to the FAQ, really. This is the simplest
> >configuration change and it took me an hour to figure it out. I'm getting
> >some real doubts now whether I should use James at all, if even simplest
> >things are not documented.
> >
> >Q: How do I disable POP3 [NNTP, RemoteManager...] in the default install
> >of James?
> >A: Edit $(JAMES_HOME)/apps/james/conf/assembly.xml: comment out or remove
> >sections coresponding to the service you want to disable. For example to
> >disablePOP3 Server comment out section which starts with
> ><block class="org.apache.james.pop3server.POP3Server" name="pop3server" >
> >...
> >
> >Now in the $(JAMES_HOME)/apps/james/conf/config.xml comment out or remove
> >the section <pop3server> .. </pop3server>
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
> >
> >
>
> --
> Shawn Boyce
> QCOM, Inc.
> Quality Software is Our Business
> http://www.qcominc.com
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to