RNMAIL

NAME
SYNOPSIS
DESCRIPTION
ENVIRONMENT
FILES
SEE ALSO
DIAGNOSTICS
BUGS

NAME

Rnmail - a program for replying via mail

SYNOPSIS

Rnmail destination_list
or
Rnmail -h headerfile [oldarticle]

or
Rnmail

DESCRIPTION

Rnmail is a friendly interface for mailing replies to news articles. It will ask several questions, then allow you to enter your letter, and then mail it off. If you type h and a carriage return at any point, Rnmail will tell you what it wants to know.

If you put a .signature file in your home directory, Rnmail will append it to your message after you are done editing it. If you prefer to see your signature while you are editing, rename your .signature file to be .mail_sig and it will be appended before you begin to edit. Note that both .mail_sig and .signature obey the setting of DOTDIR unless Rnmail was modified to take the .signature appending out of Rnmail’s control and that if both files exist you get two signatures appended.

The -h form is used when invoked from trn or rn. If your editor can edit multiple files, and you want the article to which you are replying to show up as an alternate file, define the environment variable MAILPOSTER as "Rnmail -h %h %A". You can also modify the the MAILHEADER environment variable to change the header file that [t]rn passes to Rnmail.

ENVIRONMENT

DOTDIR

If defined, specifies a place other than your home directory where ’dot’ files may be stored. This is primarily for accounts which are shared by more than one person.

Default: $HOME

EDITOR

The editor you want to use, if VISUAL is undefined.

Default: whatever your news administrator installed, usually vi.

HOME

Your home directory.

Default: $LOGDIR

LOGDIR

Your home directory if HOME is undefined.

LOGNAME

Your login name, if USER is undefined.

Default: value of "whoami".

MAILRECORD

If defined, contains the name of a file to which the finished message will be appended.

Default: message not saved

NEWSORG

Either the name of your organization, or the name of a file containing the name of your organization. (For use at organizations where the ORGANIZATION environmental variable is in use for other purposes). If both NEWSORG and ORGANIZATION are set, NEWSORG will override ORGANIZATION.

Default: whatever your news administrator chose.

ORGANIZATION

Either the name of your organization, or the name of a file containing the name of your organization.

Default: whatever your news administrator chose.

REPLYTO

The contents of a "Reply-To:" header line to insert into your message.

Default: header line not inserted.

USER

Your login name.

Default: $LOGNAME

VISUAL

The editor you want to use.

Default: $EDITOR

FILES

$DOTDIR/.letter
$DOTDIR/.signature
$DOTDIR/.mail_sig
~/dead.letter

SEE ALSO

trn(1), rn(1), Pnews(1), mail(1)

DIAGNOSTICS

BUGS

Uses /bin/mail in the absence of sendmail.