# HG changeset patch # User bears # Date 1042277405 0 # Node ID f35a7d45efd538a02fd321b575425e58d501e113 # Parent 0eaad46e56e214ecfb1e1b87089b624dae7efa73 [svn] * docs/noffle.1,docs/noffle.conf.5: Correct footer date, add new RFCs, update Markus's email again. * docs/noffle.conf.5,src/configfile.c: Only recognise authenticate-client config if authentication of one or other sort is built in. * TODO: Update. diff -r 0eaad46e56e2 -r f35a7d45efd5 ChangeLog --- a/ChangeLog Fri Jan 10 23:27:31 2003 +0000 +++ b/ChangeLog Sat Jan 11 09:30:05 2003 +0000 @@ -1,3 +1,11 @@ +Sat Jan 11 2003 Jim Hague + +* docs/noffle.1,docs/noffle.conf.5: Correct footer date, add new RFCs, + update Markus's email again. +* docs/noffle.conf.5,src/configfile.c: Only recognise authenticate-client + config if authentication of one or other sort is built in. +* TODO: Update. + Fri Jan 10 2003 Jim Hague * docs/noffle.1: Correct Noffle home page location and add Mirko as author. diff -r 0eaad46e56e2 -r f35a7d45efd5 TODO --- a/TODO Fri Jan 10 23:27:31 2003 +0000 +++ b/TODO Sat Jan 11 09:30:05 2003 +0000 @@ -5,11 +5,6 @@ Urgent ------ - * Tidy data structure initialisation when posting (post.c). - - * Post: better checks on posted article (check for duplicate headers, - address in From: headers). - * Post: Only generate Reply-To: from From: if a configuration option set. * Deal properly with headers split over several lines where the overall @@ -18,6 +13,11 @@ Later ----- + * Internationalisation. + + * Get pseudo article contents from files in /etc/noffle, to allow + local customisation. + * Provide list of suggested configurations for popular upstream servers. * Review latest NNTP draft (http://www.ieft.org/ids.by.wg/nntpext.html). diff -r 0eaad46e56e2 -r f35a7d45efd5 docs/noffle.1 --- a/docs/noffle.1 Fri Jan 10 23:27:31 2003 +0000 +++ b/docs/noffle.1 Sat Jan 11 09:30:05 2003 +0000 @@ -1,5 +1,5 @@ .TH noffle 1 -.\" $Id: noffle.1 417 2003-01-10 22:41:21Z bears $ +.\" $Id: noffle.1 422 2003-01-11 09:30:05Z bears $ .SH NAME noffle \- Usenet package optimized for dialup connections. @@ -382,6 +382,8 @@ .br .B RFC 977, .B RFC 1036, +.B RFC 2822, +.B RFC 2980 .br .B IETF drafts on common NNTP extensions: .br @@ -403,4 +405,4 @@ .br Mirko Liss -1998-2000. +1998-2003. diff -r 0eaad46e56e2 -r f35a7d45efd5 docs/noffle.conf.5 --- a/docs/noffle.conf.5 Fri Jan 10 23:27:31 2003 +0000 +++ b/docs/noffle.conf.5 Sat Jan 11 09:30:05 2003 +0000 @@ -1,5 +1,5 @@ .TH noffle.conf 5 -.\" $Id: noffle.conf.5 420 2003-01-10 23:25:45Z bears $ +.\" $Id: noffle.conf.5 422 2003-01-11 09:30:05Z bears $ .SH NAME noffle.conf \- Configuration file for NOFFLE news server @@ -133,8 +133,8 @@ .TP .B mail-to
Receiver of failed postings. If empty then failed postings are returned -to the sender (taking the address from the article's Sender, X-Sender or -From field, in this order). +to the sender (taking the address from the article's Reply-To, Sender, +X-Sender or From field, in this order). .br Default: @@ -208,6 +208,8 @@ .B authenticate-client yes|no Insist that clients authenticate themselves using the NNTP AUTHINFO USER/AUTHINFO PASS transaction before any news is served. +This option is recognised only when NOFFLE has been built with +authentication enabled. The form of the authentication is determined at compile time; either PAM is used (with a service name "noffle"), or the userlist file is scanned. This file, by default \fI/etc/noffle.users\fP, @@ -535,14 +537,16 @@ .SH AUTHORS -Markus Enzenberger +Markus Enzenberger .br Volker Wysk .br Jim Hague .br Uwe Hermann +.br +Mirko Liss -1998-2000. +1998-2003. diff -r 0eaad46e56e2 -r f35a7d45efd5 src/configfile.c --- a/src/configfile.c Fri Jan 10 23:27:31 2003 +0000 +++ b/src/configfile.c Sat Jan 11 09:30:05 2003 +0000 @@ -6,7 +6,7 @@ SPOOLDIR VERSION - $Id: configfile.c 419 2003-01-10 23:11:43Z bears $ + $Id: configfile.c 422 2003-01-11 09:30:05Z bears $ */ #if HAVE_CONFIG_H @@ -955,8 +955,14 @@ getStr( config.hostnameMsgId, line ); else if ( strcmp( "post-locally", name ) == 0 ) getBool( &config.postLocal, p ); +#if USE_AUTH + /* + * Don't recognise this unless we have some sort of auth + * built in. A small sanity check on the config. + */ else if ( strcmp( "authenticate-client", name ) == 0 ) getBool( &config.clientAuth, p ); +#endif else if ( strcmp( "default-auto-subscribe-mode", name ) == 0 ) { getStr( s, p );