Available in

(1) (1)/pl (1)/zh_CN (1)/zh_TW (1b) (3pm)

TOC

MAIL(1)                          User Commands                         MAIL(1)



NAME

       mail - the standard /usr/bin/mail interface

SYNOPSIS

       mail [OPTION...] [address...]

DESCRIPTION

       GNU mail -- the standard /usr/bin/mail interface

       -a,  --append=HEADER:  VALUE  Append  given header to the message being
              sent

       -e, --exist
              Return true if mail exists

       -E, --exec=COMMAND
              Execute COMMAND

       -f, --file[=URL]
              Operate on given mailbox URL (default ~/mbox)

       -F, --byname
              Save messages according to sender

       -H, --headers
              Write a header summary and exit

       -i, --ignore
              Ignore interrupts

       -n, --norc
              Do not read the system mailrc file

       -N, --nosum
              Do not display initial header summary

       -p, --print
              Print all mail to standard output

       -q, --quit
              Cause interrupts to terminate program

       -r, --read
              Same as -p

       -s, --subject=SUBJ
              Send a message with a Subject of SUBJ

       -t, --to
              Precede message by a list of addresses

       -u, --user=USER
              Operate on USER's mailbox

              Common options

       --license
              Print license and exit

       --external-locker=PATH Set full path to the external locker program

       --lock-expire-timeout=SECONDS
              Number of seconds after which the lock expires

       --lock-flags=FLAGS
              Default locker flags (E=external, R=retry, T=time, P=pid)

       --lock-retry-count=NUMBER
              Set the maximum number of times to retry acquiring the lockfile

       --lock-retry-timeout=SECONDS
              Set timeout for acquiring the lockfile

       -m, --mail-spool=URL
              Use specified URL as a mailspool directory

       --mailbox-type=PROTO
              Default mailbox type to use

       --tls[=BOOL]
              Enable TLS support

       -?, --help
              give this help list

       --usage
              give a short usage message

       -V, --version
              print program version

       Mandatory or optional arguments to long options are also  mandatory  or
       optional for any corresponding short options.

REPORTING BUGS

       Report bugs to <bug-mailutils [AT] gnu.org>.

SEE ALSO

       The  complete  GNU  mailutils manual is not available in Debian systems
       due to licensing reasons. You can find this manual online  in  the  GNU
       mailutils webpage:
       http://www.gnu.org/software/mailutils/manual/index.html.



FSF                              December 2006                         MAIL(1)

COMMENTS

Add your comment here. Whitespace and linebreaks are preserved. URLs are linked automatically.
CAPTCHA

No HTML allowed. URLs will be linked with nofollow attribute. Whitespace is preserved.