| Login | Home | Bugs & Features | Documentation | Download | Forums | ||
Articles · Documentation · Comments NEWSD(1)Namenewsd - erco's simple nntp news serverSynopsisnewsd [ -c config-file ] [ -d ] [ -f ]
newsd -mailgateway group
newsd -newgroup
newsd -rotate
DescriptionNewsd|(8) is a standalone local NNTP news server for private newsgroup serving on a single server. It is useful for serving private newsgroup(s) to an intranet or the Internet and can act as a simple mail gateway, however it does not interface with other news servers and cannot manage distributed news feeds, i.e. Usenet news.Each client connection forks a child, and the child remains running until the connection is closed, typically until the user closes their news reader which can mean a long time. Options supported by newsd: -c configfile
-d
-f
-mailgateway -newgroup
-rotate
You will be prompted for the new group's information.
Here's an example interactive session; '-->' indicates
administrator's keyboard input:
1) Add a 'replyto' line in the newsgroup's .config file,
e.g. /usr/spool/news/rush/general/.config:
2) Create an entry in /etc/aliases, e.g.:
being sure to invoke newaliases|(1) to make the change
take effect.
3) Make sure newsd is setuid 'root', eg:
Use 'chown root:mail newsd' and 'chmod 4750 newsd' to enforce
these permissions. If your mail server uses a group other than
"mail", use the corresponding group name so that only the mail
server and root can execute the newsd program.
Send a test email to rush.general@yourdomain.com to see if the
message gets added to the group. If it doesn't, check for a
bounced message.
newsd.conf|(5) - configuration files for erco's simple nntp news server
RFC 977 - NNTP Protocol
RFC 2890 - NNTP extensions
RFC 1036 - Usenet news messages format
Authentication is not currently implemented.
Some NNTP commands are not supported, including searching by
message id. Grep the code for 'TODO' to see what needs to be
added.
There is currently no way to constrain posting or readership
to particular IP addresses or domains.
There are probably ways to cause a denial of service.
Greg Ercolano, Topanga CA
Michael Sweet, Hollywood, MD
No comments for this page. | Newsd copyright 2002-2009 by Greg Ercolano and Michael R Sweet. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. | ||||||