🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82160

Proposal for a standardized LIST MOTD command

#82160
From: Julien ÉLIE
Date: Fri, 20 Nov 2009 22:21
88 lines
4065 bytes
Hi,

In case you have any comments or special need on that command, do not
hesitate to speak up.
Expectations from news readers, how it can be used, implementation
on news servers, etc.


Usage

   Syntax
      LIST MOTD

   Responses
      215    Information follows (multi-line)

Description

   See Section 7.6.1 of [RFC3977] for general requirements of the LIST
   command.

   The motd list contains a "message of the day" relevant to the news
   server.  It is intended to provide notification and communication
   between the news administrator and the news user.  For instance,
   notification of upcoming downtime or information about new facilities
   available on the news server can be advertised via this means of
   communication.

   The information is returned as a multi-line data block following the
   215 response code.  This text is not guaranteed to be in any
   particular format although, like all multi-line data blocks, it is
   "dot-stuffed".

   The server need not return the same information if this command is
   used more than once in a session.  It MAY indeed send a different
   message of the day depending on the state of the session.  For
   instance, on a mode-switching news server, the information can be
   different between its transit mode and its reader mode, or between an
   authenticated session and an unauthenticated session.

   The information MUST be in UTF-8.

   The motd list is not newsgroup-based, and an argument MUST NOT be
   specified.  Otherwise, a 501 response code MUST be returned.

   The motd list MAY be empty.  If the server does not maintain the
   information, a 503 response code MUST be returned.

   It is up to the client to decide when and how to display this message
   to the user.  No timestamp or date of last modification date is
   provided.  The client may want to keep some state if it wishes to
   show the message only upon modification.

Example

   Example of output:

   [C] CAPABILITIES
   [S] 101 Capability list:
   [S] VERSION 2
   [S] READER
   [S] LIST ACTIVE MOTD NEWSGROUPS
   [S] .
   [C] LIST MOTD
   [S] 215 Message of the day follows
   [S] Attention all users,
   [S]
   [S] This server will be down for scheduled upgrades on February, 1st.
   [S] It should be back up by 8:00 a.m. February, 2nd.
   [S] Any questions should be e-mailed to <newsmaster@example.com>.
   [S]
   [S] Apologies for the disturbance.
   [S] .

ABNF syntax

     list-arguments =/ "MOTD"

     list-content =/ list-motd-content
     list-motd-content = *(*U-CHAR CRLF)

-- 
Julien ÉLIE

« Cela n'a rien de remarquable. Il suffit d'appuyer sur la
  bonne touche au bon moment et l'instrument
  joue tout seul. » (J.-S. Bach) 
Technical Details
Message-ID: <he74ps$58i$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <he74ps$58i$1@news.trigofacile.com>
Subject: Proposal for a standardized LIST MOTD command
Date: Fri, 20 Nov 2009 23:21:47 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp,news.software.readers
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 88
NNTP-Posting-Host: aaubervilliers-151-1-5-91.w83-114.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-15";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1258755708 5394 83.114.4.91 (20 Nov 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Fri, 20 Nov 2009 22:21:48 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049