Linux command
mailq 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show mail queue
mailq
Show queue summary
mailq -p
Show verbose output
mailq -v
说明
mailq displays the mail queue. It shows messages waiting to be delivered. The tool is usually a symlink to sendmail or postfix. It lists queued, deferred, and held mail.
参数
- -p
- Print queue summary.
- -v
- Verbose output.
- --help
- Display help information.
FAQ
What is the mailq command used for?
mailq displays the mail queue. It shows messages waiting to be delivered. The tool is usually a symlink to sendmail or postfix. It lists queued, deferred, and held mail.
How do I run a basic mailq example?
Run `mailq` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -p do in mailq?
Print queue summary.