ScriptInstallation.In Add me to Skype

Home
Services
PHP Script Installation
CGI Script Installation
Linux Tips
FreeBSD Tips
Windows Tips
Server Tips
Scripts Directory
HOW-TO
Contact Us


mailq

Postfix to Sendmail compatibility interface

List the mail queue. Each entry shows the queue file ID, message size, arrival time, sender, and the recipients that still need to be delivered. If mail could not be delivered upon the last attempt, the reason for failure is shown. This mode of operation is implemented by executing the postqueue(1) command.

root@Webserver:~# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
6761B21C519      470 Sat Jul 15 14:56:33  www-data@Webserver.local
       (connect to bizhat.com[205.178.119.131]: Connection timed out)
                                         sam@bizhat.com

-- 0 Kbytes in 1 Request.
root@Webserver:~# postfixq
-su: postfixq: command not found
root@Webserver:~#

In this example 6761B21C519 is the file id. To see the content of the mail in queue with file id 6761B21C519, use command "postcat -q 6761B21C519"

Back to Postfix Mail Commands



Copyright © ScriptInstallation.in