NAME
dist - redistribute a message to additional addressesSYNOPSIS
dist
[+folder] [msg] [-form formfile] [-annotate
| -noannotate] [-inplace | -noinplace]
[-draftfolder +folder] [-draftmessage msg]
[-nodraftfolder] [-editor editor] [-noedit]
[-width columns] [-from address] [-to
address] [-cc address] [-fcc +folder]
[-whatnowproc program] [-nowhatnowproc] [-atfile]
[-noatfile] [-version] [-help]
DESCRIPTION
Dist is similar to forw. It prepares the specified message for redistribution to addresses that (presumably) are not on the original address list. The default message form contains the following elements:Resent-From: {from switch} or <Local-Mailbox> or <username@hostname> Resent-To: {to switch} or blank Resent-cc: {cc switch} or blank Resent-fcc: {fcc switch} or blank
Escape Returns Description fcc string Any folders specified with `-fcc folder' nmh-from string Addresses specified with `-from address' nmh-to string Addresses specified with `-to address' nmh-cc string Addresses specified with `-cc address'
Resent: date
Resent: addrs
FILES
^/etc/nmh/distcomps~^The standard message skeleton ^or <mh-dir>/distcomps~^Rather than the standard skeleton ^$HOME/.mh_profile~^The user profile ^<mh-dir>/draft~^The draft file
PROFILE COMPONENTS
^Path:~^To determine the user's nmh directory ^Current-Folder:~^To find the default current folder ^Draft-Folder:~^To find the default draft-folder ^Editor:~^To override the default editor ^fileproc:~^Program to refile the message ^whatnowproc:~^Program to ask the “What now?” questions
SEE ALSO
comp(1), forw(1), repl(1), send(1), whatnow(1)DEFAULTS
`+folder' defaults to the current folder `msg' defaults to cur `-noannotate' `-nodraftfolder' `-inplace' `-atfile'
CONTEXT
If a folder is given, it will become the current folder. The message distributed will become the current message.HISTORY
Dist originally used headers of the form “Distribute-xxx:” instead of “Resent-xxx:”. In order to conform with the ARPA Internet standard, RFC-822, the “Resent-xxx:” form is now used. Dist will recognize “Distribute-xxx:” type headers and automatically convert them to “Resent-xxx:”.BUGS
Dist does not rigorously check the message being distributed for adherence to the transport standard, but post called by send does. The post program will balk (and rightly so) at poorly formatted messages, and dist won't correct things for you. If whatnowproc is whatnow, then comp uses a built-in whatnow, it does not actually run the whatnow program. Hence, if you define your own whatnowproc, don't call it whatnow since comp won't run it. If your current working directory is not writable, the link named “@” is not available.11 June 2012 | MH.6.8 |