against competing signing processes. Allow optional headers; see
$use_or_add. Added simple comments about why particular headers are
signed. Made error messages a tad more helpful for situations where it is
hard to know what message was trying to be signed (such as via an "at"
job). Set $action, $group, $moderated to "" to prevent unused variable
warnings in the event a Control header can't be parsed. Moved assignment
of $pgpend out of loop.
$syslog_method configurable variables. Configurably allow date stamp on
stderr error messages. Added locking for multiple concurrent pgp
instances. More clear error message if pgp exits abnormally. Identify
PGP 5 "BAD signature" string. Minor diddling for INN (path to
innshellvars.pl changed).
error messages (for help w/batch processing). Disabled moderator address
checking. Adjusted newsgroups line (ie, tabbing fixed), now correctly
substituted into control message.
+ brackets, because some of the various pieces of software that deal
+ with the user id mishandle it. For the best results netwide, I
+ strongly recommend that you use only alphanumeric characters, the at
+ sign, dot, dash, plus and underscore.</P>
is doubled, \r\n at line end) by stripping NNTP encoding. Exit 255 with
pointer to $HOME or $PGPPATH if pgp can't find key ring. (Probably
doesn't match the necessary error message with ViaCrypt PGP.) Failures
also report message-id so the article can be looked up to retry.
(Though I do believe news software oughtn't be unfolding them.) Checks to
ensure that the temporary file is really a file, and not a link or some
other weirdness.