TINEWS(1)

NAME
tinews.pl - Post and sign an article via NNTP

SYNOPSIS
tinews.pl < input

DESCRIPTION
tinews.pl reads an article on STDIN, signs it via pgp(1) or gpg(1) and posts it to a newsserver.

If the article contains To:, Cc: or Bcc: headers and mail-actions are configured it will automatically add a "Posted-And-Mailed: yes" header to the article and send out the mail-copies.

OPTIONS
None.

EXIT STATUS
The following exit values are returned:

0   Successful completion.

!=0 An error occurred.

ENVIRONMENT

$NNTPSERVER
    Set to override the NNTP server configured in the source.

$PGPPASS
    Set to override the passphrase configured in the source (used for pgp(1)-2.6.3).

$PGPPASSFILE
    Passphrase file used for pgp(1) or gpg(1).

$SIGNER
    Set to override the user-id for signing configured in the source. If you neither set $SIGNER nor configure it in the source the contents of the From:-field will be used.

$REPLYTO
    Set the article header field Reply-To: to the return address specified by the variable if there isn't allready a Reply-To: header in the article.

$ORGANIZATION
    Set the article header field Organization: to the contents of the variable if there isn't allready a Organization: header in the article.

FILES

pgptmp.txt
    Temporary file used to store the reformated article

pgptmp.txt.asc
    Temporary file used to store the reformated and signed article

$PGPPASSFILE
    The passphrase file to be used for pgp(1) or gpg(1).

SECURITY
If interactive usage is configured and tinews.pl prompts for the NNTP-password the input is echoed to the terminal.

If you've configured or entered a password, even if the variable that contained that password has been erased, it may be possible for someone to find that password, in plaintext, in a core dump. In short, if serious security is an issue, don't use this script.

NOTES
tinews.pl is designed to be used with pgp(1)-2.6.3, pgp(1)-5 and gpg(1).

tinews.pl requires the following standard modules to be installed: Net::NNTP(3pm), Time::Local(3pm) and Term::Readline(3pm).

AUTHOR
Urs Janssen <urs@tin.org>, Marc Brockschmidt <marc@marcbrockschmidt.de>

SEE ALSO
pgp(1), gpg(1), pgps(1), Net::NNTP(3pm), Time::Local(3pm), Term::Readline(3pm)