revision 0.10
2/3/98
* popts modapprc option deleted
* in sub post_news : modapp can use several NNTP servers if nntpserver
  config option lists all the servers separated by commas
----------------------------
revision 0.9
13/2/98
* configfile is set to ~/.modapprc by default
* tmpdir in configfile can begin with '~'
* "plumber" replaced with \&plumber in 'pipe' signal declaration (sub modapp)
* if modapp is not run in quiet mode and if Reply-To is present in the article,
  ask if the header field must be kept in the article to be posted
----------------------------
revision 0.8
21/12/97
* option -i : supply message-id computed externally
* variable nntpserver : give the name of the news server used to post articles
* deleted option popts
----------------------------
revision 0.7
date: 1997/07/04 19:55:51;  author: ts+sn;  state: Exp;  lines: +208 -32
* sub modapp : small bug when -s and -r are used corrected (the list
of available archnames was displayed twice)
* Support for pgp-signing of articles with pgpcontrol method (G. Decoux)
* option -g : supply newsgroup name if none is provided
* bug if no newsgroup name is provided with no checkgroup call 
( Path: and Newsgroups: could be empty)
* option -m : in quiet mode, forward article to be crossposted
in multiple moderated newsgroups to next moderator instead
of posting in all newsgroups (including the ones moderated by other
people). It's possible to give as the argument the name of a
newsgroup defined in modapprc (for modappbot)
* sub msgid : changed algorithm used to generate the (supposed)
Message-ID: header. This sub now uses the number of seconds
since the epoch AND random number between 1 and 99999999.
* replaced the X-Also-Approved: header by the standard Approved:
containing eventually more than one e-mail address. Approved: is
present even if the article is forwarded by mail to the next moderator
----------------------------
revision 0.6
date: 1997/06/18 20:21:04;  author: ts+sn;  state: Exp;  lines: +521 -275
* sub parserc : changed the substitution used for "~" shell hack
* opt q : full implementation . It's now possible to use moderate to
  post periodical postings
* problem with the choice menu of newsgroups if there's no Newsgroups: in
  quiet mode header corrected
* problem if there is a Followup-To: header in the article corrected
* strip Quoted-Printable encoding and ISO8859-1 accents in headers
* Use Net::NNTP or News::NNTPClient unless post and popts options
  are defined in conf file
* Use Net::SMTP unless sendmail and mopts options are defined in conf file
* Added a new conf variable : mailhost which is the name of the
  mail server used by Net::SMTP. mailhost is localhost by default.
* Changed the name of the script from moderate to modapp
* Changed the name of the configuration file : .moderaterc to .modapprc
* added support for MIME headers
  (MIME-Version, Content-Type, Content-Transfer-Encoding). If these headers
  are present in the received mail, there are printed in the posted article.
* sub wait_answer : OS independent by usage of Term::ReadLine
  instead of /dev/tty
* sub editor() : tested only on Un*x
  possibility to use IPC open functions (for VMS portability...)
* sub valid_number() : corrected : it did not accept integers <0
* sub modapp : corrected bug with getarchives()
* can post several articles at once : modapp article1 article2 or
  modapp < mailbox (mailbox containing articles separated by "From ")
----------------------------
revision 0.5
date: 1997/06/09 22:01:01;  author: ts+wolf+sn;  state: Exp;  lines: +652 -546
Use strict pragma
can accept several e-mail messages (several files or standard input
with several mails)
use Getopt::Long
add -f option to specify location of moderaterc conf file
add -q option for quiet behaviour (partial)
test if expiration is greater than 0
-k option is now -kcheck
Most global options are now local
New functions : wait_answer(), valid_number(), version()
in sub msgid : replaced hostname syscall by Sys::Hostname
in sub ckgroups : active file is now read only once
use of map and grep to replace foreach loops
change s/// regexps
return nextgroup,newsgroups
complete rewrite of sub parserc
sub getarchive : system replaced by opendir/readdir
sub getoldmsgid : name of archive as parameter (instead of number)
complete rewrite of sub cancel
sub moderate : validheaders tables- bug with $followup corrected
decl archdir : can use "~" shell hack to specify home dir
decl simplepath : boolean variable - same as -p line opt if yes
decl printnxp : boolean variable - don't print X-Newsposter if no
if no signature is declared in the config file, no need to print "-- "
----------------------------
revision 0.4
date: 1997/05/23 18:31:50;  author: sn;  state: Exp;  lines: +14 -10
detection of unknown or moderated crossposted newsgroups
possibility to forward the article to next moderator in case of
crossposted moderated newsgroups
----------------------------
revision 0.3
date: 1997/05/23 18:24:28;  author: sn;  state: Exp;
use of RCS system
supersedes/references msgid bug corrected
algorithm used in the header recognition changed
----------------------------
=============================================================================
