处理邮件消息
命令语法格式
mail.mailutils [OPTION…] [address…]
mail.mailutils [OPTION…] [OPTION…] [file]
mail.mailutils [OPTION…] –file [OPTION…] [file]
mail.mailutils [OPTION…] –file=file [OPTION…]
命令描述
GNU mail,处理邮件消息。
命令行选项
长选项的强制或可选参数,对于任何相应的短选项也是强制性的或可选的。
如果给出了-f或–file,则mail在第一个参数指定的邮箱或用户的mbox上运行(如果没有给出参数)。
-A, –attach=FILE
附件FILE
–content-type=TYPE
为后续–attach选项设置内容类型
–encoding=NAME
为后续的–attach选项设置编码
-a, –append=HEADER: VALUE
将标题附加到正在发送的消息中
-E, –exec=COMMAND
执行命令COMMAND
-e, –exist
如果mail存在,则返回true。
-F, –byname
根据发件人保存邮件
-H, –headers
输出一个标题摘要并退出
-N, –nosum
不显示初始标题摘要
-i, –ignore
忽略中断
-n, –norc
不要读取系统mailrc文件
-p, –print, –read
将所有邮件打印到标准输出
-q, –quit
导致中断会终止程序
-r, –return-address=ADDRESS
发送邮件时,使用ADDRESS作为返回地址
-s, –subject=SUBJ
发送带有给定主题SUBJECT的消息
-t, –to
从邮件头中读取收件人
-u, –user=USER
操作USER的邮箱
全局的调试选项
–debug-level=LEVEL
设置Mailutils的调试的等级
–debug-line-info
显示调试消息的源信息
配置处理
–config-file=FILE
加载此配置文件;隐含–no-config选项
–config-lint
检查配置文件语法并退出
–config-verbose
显示配置文件的解析日志
–no-config
不要加载用户和站点的配置文件
–no-site-config
不要加载站点的配置文件
–no-user-config
不要加载用户的配置文件
–set=PARAM=VALUE
设置配置参数
信息选项
–config-help
显示配置文件摘要
–show-config-options
显示编译选项
-?, –help
显示该帮助列表
–usage
给出一个简短的使用消息
-V, –version
打印程序版本
相关手册
The complete GNU mailutils documentation is maintained as a Texinfo manual. If the mailutils-doc package is installed, the command
should give you access to the complete manual.
You can also find this manual online in the GNU mailutils webpage:
Please note this manpage was automatically generated by the Debian mailutils packagers. Do not file bugs for its content to the GNU Mailutils upstream authors.
参考文献
- man 1 mail.mailutils, Version 13.1.1-1
更新日志
- 10/30/2018 创建文章