You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by hb...@apache.org on 2001/04/10 17:46:57 UTC
cvs commit: jakarta-james/conf james.conf.xml james.server.xml
hbedi 01/04/10 08:46:57
Modified: conf james.conf.xml james.server.xml
Log:
added NNTP Configuration
Revision Changes Path
1.12 +45 -1 jakarta-james/conf/james.conf.xml
Index: james.conf.xml
===================================================================
RCS file: /home/cvs/jakarta-james/conf/james.conf.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- james.conf.xml 2001/03/17 18:48:55 1.11
+++ james.conf.xml 2001/04/10 15:46:56 1.12
@@ -63,7 +63,7 @@
<!-- Set the facilities offered by this instance of JAMES -->
<!-- WARNING - The IMAP server is only experimental, ie pre-alpha -->
- <services SMTP="TRUE" POP3="TRUE" IMAP="FALSE"/>
+ <services SMTP="TRUE" POP3="TRUE" IMAP="FALSE" NNTP="FALSE"/>
<!-- Set the type of permanent mailfolders to be used.
If IMAP service is to be provided, storage must be 'IMAP'; if only POP3
@@ -168,6 +168,50 @@
<connectiontimeout>1800000</connectiontimeout>
</imaphandler>
</imapServer>
+
+ <nntpServer>
+ <port>119</port>
+ <!-- <port>563</port> -->
+ <!-- port 563 is the well-known/IANA registered port for NNTPS
+ ie over SSL/TLS -->
+ <!-- <bind> </bind> uncomment this if you want to bind to a specific
+ inetaddress-->
+ <!-- <useTLS>TRUE</useTLS> uncomment this if you want to use TLS (SSL)
+ on this port -->
+ <nntphandler>
+ <connectiontimeout>120000</connectiontimeout>
+ <!-- make this true, if you want only authenticated users to access NNTP-->
+ <authRequired>false</authRequired>
+ </nntphandler>
+ <!-- NNTP Repository -->
+ <repository>
+ <configuration>
+ <!-- make this true to disallow posting to all newsgroups-->
+ <readOnly>false</readOnly>
+ <rootPath>file:///var/nntp/groups</rootPath>
+ <tempPath>file:///var/nntp/temp</tempPath>
+ <articleIDPath>file:///var/nntp/articleid</articleIDPath>
+ <articleIDDomainSuffix>news.james.apache.org</articleIDDomainSuffix>
+ <!-- these additional news groups would be created and exposed-->
+ <newsgroups>
+ <newsgroup>org.apache.james.dev</newsgroup>
+ <newsgroup>org.apache.james.user</newsgroup>
+ <newsgroup>org.apache.avalon.dev</newsgroup>
+ <newsgroup>org.apache.avalon.user</newsgroup>
+ </newsgroups>
+ <spool>
+ <configuration>
+ <spoolPath>file:///var/nntp/spool</spoolPath>
+ <!-- number of threads that process spooler related tasks -->
+ <threadCount>1</threadCount>
+ <!-- the spool thread(s) should idle for some time,
+ if it has nothing to do -->
+ <threadIdleTime>1000</threadIdleTime>
+ </configuration>
+ </spool>
+ </configuration>
+ </repository>
+ </nntpServer>
<!-- CHECKME! Change the default password! -->
<remoteManager>
1.4 +2 -0 jakarta-james/conf/james.server.xml
Index: james.server.xml
===================================================================
RCS file: /home/cvs/jakarta-james/conf/james.server.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- james.server.xml 2001/03/05 11:21:34 1.3
+++ james.server.xml 2001/04/10 15:46:56 1.4
@@ -23,6 +23,7 @@
<category name="Mailets" target="mailets-target" priority="DEBUG" />
<category name="James.SMTPServer" target="smtpserver-target" priority="DEBUG" />
<category name="James.POP3Server" target="pop3server-target" priority="DEBUG" />
+ <category name="James.NNTPServer" target="nntpserver-target" priority="DEBUG" />
<category name="James.DnsServer" target="dnsserver-target" priority="DEBUG" />
<category name="James.RemoteManager" target="remotemanager-target" priority="DEBUG" />
<category name="James.SpoolManager" target="spoolmanager-target" priority="DEBUG" />
@@ -44,6 +45,7 @@
<log-target name="mailets-target" location="/logs/mailets.log" />
<log-target name="smtpserver-target" location="/logs/smtpserver.log" />
<log-target name="pop3server-target" location="/logs/pop3server.log" />
+ <log-target name="nntpserver-target" location="/logs/pop3server.log" />
<log-target name="dnsserver-target" location="/logs/dnsserver.log" />
<log-target name="remotemanager-target" location="/logs/remotemanager.log" />
<log-target name="spoolmanager-target" location="/logs/spoolmanager.log" />
---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org