1.\" Copyright (c) 1980, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 3. Neither the name of the University nor the names of its contributors 13.\" may be used to endorse or promote products derived from this software 14.\" without specific prior written permission. 15.\" 16.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.\" @(#)mail6.nr 8.1 (Berkeley) 6/8/93 29.\" 30.bp 31.sh 1 "Command line options" 32.pp 33This section describes command line options for 34.i Mail 35and what they are used for. 36.ip \-N 37Suppress the initial printing of headers. 38.ip \-d 39Turn on debugging information. Not of general interest. 40.ip "\-f file\ \ " 41Show the messages in 42.i file 43instead of your system mailbox. If 44.i file 45is omitted, 46.i Mail 47reads 48.i mbox 49in your home directory. 50.ip \-i 51Ignore tty interrupt signals. Useful on noisy phone lines, which 52generate spurious RUBOUT or DELETE characters. It's usually 53more effective to change your interrupt character to control\-c, 54for which see the 55.i stty 56shell command. 57.ip \-n 58Inhibit reading of /etc/mail.rc. Not generally useful, since 59/etc/mail.rc is usually empty. 60.ip "\-s string" 61Used for sending mail. 62.i String 63is used as the subject of the message being composed. If 64.i string 65contains blanks, you must surround it with quote marks. 66.ip "\-u name" 67Read 68.i names's 69mail instead of your own. Unwitting others often neglect to protect 70their mailboxes, but discretion is advised. Essentially, 71.b "\-u user" 72is a shorthand way of doing 73.b "\-f /var/mail/user". 74.ip "\-v" 75Use the 76.b \-v 77flag when invoking sendmail. This feature may also be enabled
|
79.pp 80The following command line flags are also recognized, but are 81intended for use by programs invoking 82.i Mail 83and not for people. 84.ip "\-T file" 85Arrange to print on 86.i file 87the contents of the 88.i article-id 89fields of all messages that were either read or deleted. 90.b \-T 91is for the 92.i readnews 93program and should NOT be used for reading your mail. 94.ip "\-h number" 95Pass on hop count information. 96.i Mail 97will take the number, increment it, and pass it with 98.b \-h 99to the mail delivery system. 100.b \-h 101only has effect when sending mail and is used for network mail 102forwarding. 103.ip "\-r name" 104Used for network mail forwarding: interpret 105.i name 106as the sender of the message. The 107.i name 108and 109.b \-r 110are simply sent along to the mail delivery system. Also, 111.i Mail 112will wait for the message to be sent and return the exit status. 113Also restricts formatting of message. 114.pp 115Note that 116.b \-h 117and 118.b \-r , 119which are for network mail forwarding, are not used in practice 120since mail forwarding is now handled separately. They may 121disappear soon.
|