mail.mailutils(1)

mail.mailutils1

Process mail messages

Usage

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

mail.mailutils [OPTION ...] [OPTION ...] [file]

mail.mailutils [OPTION ...] --file [OPTION ...] [file]

mail.mailutils [OPTION ...] --file=file [OPTION ...]

Overview

GNU mail -- process mail messages. If -f or --file is given, mail operates on the mailbox named by the first argument, or the user's mbox, if no argument given.

-A, --attach=FILE

attach FILE

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

--[no-]alternative

force multipart/alternative content type

--attach-fd=FD

attach from file descriptor FD

--content-filename=NAME

set the Content-Disposition filename parameter for the next --attach option

--content-name=NAME

set the Content-Type name parameter for the next --attach option

--content-type=TYPE

set content type for subsequent --attach options

-E, --exec=COMMAND

execute COMMAND

-e, --exist

return true if mail exists

--encoding=NAME

set encoding for subsequent --attach options

-F, --byname

save messages according to sender

-H, --headers

write a header summary and exit

-i, --ignore

ignore interrupts

-M, --[no-]mime

compose MIME messages

-N, --nosum

do not display initial header summary

-n, --norc

do not read the system mailrc file

-p, --print, --read

print all mail to standard output

-q, --quit

cause interrupts to terminate program

-r, --return-address=ADDRESS

use address as the return address when sending mail

-s, --subject=SUBJ

send a message with the given SUBJECT

--[no-]skip-empty-attachments

skip attachments with empty body

-t, --to

read recipients from the message header

-u, --user=USER

operate on USER's mailbox

Global debugging settings

--debug-level=LEVEL

set Mailutils debugging level

--[no-]debug-line-info show source info with debugging messages

-M, --mailer=MAILER

use specified URL as the default mailer

Configuration handling

--config-file=FILE

load this configuration file; implies --no-config

--config-lint

check configuration file syntax and exit

--config-verbose

verbosely log parsing of the configuration files

--no-config

do not load site and user configuration files

--no-site-config

do not load site-wide configuration file

--no-user-config

do not load user configuration file

--set=PARAM=VALUE

set configuration parameter

Informational options

--config-help

show configuration file summary

--show-config-options

show compilation options

-?, --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.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

--attach since Debian 8 (Jessie); --attach-fd since Debian 10 (Buster); --content-filename since Debian 10 (Buster); --content-name since Debian 10 (Buster); --content-type since Debian 8 (Jessie); --encoding since Debian 8 (Jessie); --mailer since Debian 13 (Trixie); --no-config since Debian 9 (Stretch); --return-address since Debian 8 (Jessie); --set since Debian 7 (Wheezy); -A since Debian 8 (Jessie); -M since Debian 13 (Trixie).

--debug-line-info until Debian 9 (Stretch); --license until Debian 6.0 (Squeeze); --no-site-rcfile until Debian 8 (Jessie); --no-user-rcfile until Debian 8 (Jessie); --rcfile until Debian 8 (Jessie); --rcfile-lint until Debian 8 (Jessie); --rcfile-verbose until Debian 8 (Jessie); --tls until Debian 6.0 (Squeeze).

Reporting bugs

Report bugs to <[email protected]>.
GNU Mailutils home page: <http://mailutils.org>
General help using GNU software: <http://www.gnu.org/gethelp/>

From mailutils 1:3.19-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.