diff -r 1090e2141798 -r 2fdc9cc89502 doc/sonews.xml
--- a/doc/sonews.xml Wed Jul 01 10:48:22 2009 +0200
+++ b/doc/sonews.xml Wed Jul 22 14:04:05 2009 +0200
@@ -57,11 +57,15 @@
Roadmap
- sonews/0.6
- Planned to implement the XPAT command for searching, correctly
+ sonews/1.0
+
+ Various minor fixes and code cleanup (Storage and Command interface for
+ the upcoming Plugin API).
+
+ XPAT command for searching, correctly
hashed Message-Ids and a news purging command.
See Bugtracker for
- issues with target sonews/0.6.x.
+ issues with target sonews/1.0.x.
@@ -76,17 +80,14 @@
APT
easily.
Add the following line to /etc/apt/sources.list:
- deb http://packages.xerxys.info/debian/ unstable main
-
+ deb http://packages.xerxys.info/debian/ unstable main
And add the GPG-Key for package authentification, see
Xerxys Debian Repository
for more details.
Then force an update of your local package list:
- # apt-get update
-
+ # apt-get update
To install sonews and all prerequisites issue the following command:
- # apt-get install sonews
-
+ # apt-get install sonews
This method should work for all recent Debian-based distributions
(Debian, Ubuntu, etc.).
@@ -124,11 +125,9 @@
You will find the SQL Schema definitions in the helpers subdirectory of
the source and binary distributions. You can create the tables manually using
this templates or you can use the setup helper:
- user@debian$ sonews setup
-
+ user@debian$ sonews setup
or on other *nix systems:
- user@nix$ java -jar sonews.jar org.sonews.util.DatabaseSetup
-
+ user@nix$ java -jar sonews.jar org.sonews.util.DatabaseSetup
The tool will ask for some information about your database environment,
connect to the database, create the tables and creates a default bootstrap
config file called sonews.conf.
@@ -157,7 +156,7 @@
If set to true every(!) data going through sonews' socket
- is written to sonews.log. After a night the logfile can be
+ is written to sonews.log. After a high traffic night the logfile can be
several gigabytes large, so be careful with this setting.
@@ -165,20 +164,40 @@
‘sonews.hostname’
- Canonical name of the server instance. This variable is part of the server's
-hello message to the client and used to generate Message-Ids.
+
+ Canonical name of the server instance. This variable is part of
+ the server's hello message to the client and used to generate
+ Message-Ids.
+ It is highly recommended to set sonews.hostname to the full
+ qualified domain name (FQDN) of the host machine.
+
‘sonews.timeout’
- Socket timeout for client connections in seconds.
+
+ Socket timeout for client connections in seconds. Default as
+ recommended in RFC3977 is 180 seconds.
+
‘sonews.port’
- Listening port of sonews daemon.
+
+ Listening port of sonews daemon. This value can be overridden
+ with the -p command line argument.
+
+
+
+
+ ‘sonews.xdaemon.host’
+
+
+ Hostname or IP address of the client machine that is allowed to
+ use the XDAEMON command. Default: localhost
+
@@ -196,20 +215,37 @@
-h|-help This output
-mlgw Enables the Mailinglist Gateway poller
-p portnumber Port on which sonews is listening for incoming connections.
- Overrides port settings in config file and database.
-
-
+ Overrides port settings in config file and database.
Webinterface
The package sonews-web provides an optional webinterface that can be used to
review statistical information and configuration values of sonews.
- sonews-web start|stop
-
+ sonews-web start|stop
The webinterface uses the the lightweight Servlet Container Kitten and is
per default listening on HTTP-Port 8080 (go to http://localhost:8080/sonews).
+
+
+ Newsgroup configuration
+
+ Currently some manual work is necessary to create a newsgroup hosted
+ by a sonews instance.
+
+
+ One possibility is to talk via Telnet to the sonews instance and
+ use the non-standard command XDAEMON.
+ telnet localhost 119
+ XDAEMON GROUPADD local.test 0
+ Please note that the XDAEMON command has restricted access and is only
+ available via local connections (default, can be changed with config
+ value sonews.xdaemon.host).
+
+
+ You can also use the web interface to create newsgroups.
+
+
@@ -217,8 +253,7 @@
You're welcome to create patches with bugfixes or additional features. The
Mercurial DSCM makes this step an easy task.
Just clone the public Mercurial repository:
- hg clone http://code.xerxys.info:8000/hg/sonews/trunk sonews-trunk
-
+ hg clone http://code.xerxys.info:8000/hg/sonews/ sonews-trunk
Then make your changes, create a bundle of changesets and send this to me via email.
Or ask for push access to the public repository.