Use this procedure to see how many messages are in the queue and how fast they are being cleared from the queue.
Use the following command to display this information.
The queue IDs
The size of the message
The date the message entered the queue
The message status
The sender and the recipients
# /usr/bin/mailq | more |
This command now checks for the authorization attribute, solaris.admin.mail.mailq. If the check is successful, the equivalent of specifying the -bp flag with sendmail is executed. If the check fails, an error message is printed. By default, this authorization attribute is enabled for all users. The authorization attribute can be disabled by modifying the user entry in prof_attr. For more information, refer to the man pages for prof_attr(4) and mailq(1).