You Asked: What Is Mailq in Linux?
Contents the Name Itself Suggests, Mailq I. E. “Mail-Queue”, This Command in Linux Prints the Mail Queue I. E the List of Messages That Are There in the Mail...
The name itself suggests, mailq i.e. “mail-queue”, this command in Linux prints the mail queue i.e the list of messages that are there in the mail queue. … The output of mailq command is similar to the sendmail -bp command that also prints the mail queue.
What is the purpose of the Mailq command?
The mailq Command in Linux
Mailq prints a summary of the email messages queued for future delivery in a Linux operating system. It functions identically to the command sendmail -bp. Depending on your distribution, you may not have mailq or sendmail installed by default.
How do I check my Mailq?
Here are the most common commands I use when either developing or troubleshooting email in production: mailq – print a list of all queued mail. postcat -vq [message-id] – print a particular message, by ID (you can see the ID along in mailq ‘s output)