mail.mailutils(1) process mail messages


mail.mailutils [,OPTION/...] [,address/...]
mail.mailutils [,OPTION/...] ,-f /[,OPTION/...] [,file/]
mail.mailutils [,OPTION/...] ,--file /[,OPTION/...] [,file/]
mail.mailutils [,OPTION/...] ,--file=file /[,OPTION/...]


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, --append=,HEADER/: VALUE append given header to the message being sent
-A, --attach=,FILE/
attach FILE
set content type for subsequent --attach options
-e, --exist
return true if mail exists
set encoding for subsequent --attach options
-E, --exec=,COMMAND/
execute COMMAND
-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, --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
-t, --to
precede message by a list of addresses
-u, --user=,USER/
operate on USER's mailbox
Common options
--config-file=,FILE/, --rcfile=,FILE/
load this configuration file
show configuration file summary
--config-lint, --rcfile-lint
check configuration file syntax and exit
--config-verbose, --rcfile-verbose
verbosely log parsing of the configuration files
--no-site-config, --no-site-rcfile
do not load site configuration file
--no-user-config, --no-user-rcfile
do not load user configuration file
set configuration parameter
show compilation options
Global debugging settings
set Mailutils debugging level
show source info with debugging messages
-?, --help
give this help list
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.


Report bugs to: <[email protected]>
GNU Mailutils home page: <>
General help using GNU software: <>


Copyright © 2007-2015 Free Software Foundation, inc. License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.