What's the postfix equivalent to sendmail -bp?
|
|
|
Or, less typing:
|
|||
|
|
|
|||
|
|
qshape active will show you the number of emails being sent to each domain and how long they have been in the active queue qshape deferred will show you the same but for the deferred queue |
|||
|
|
|
Here's what I use, culled from the postfix mailing list. I removed the author's name, in case he doesn't want it here (you can see it at the source). It only displays totals.
EDIT: Fixed a typo on line 26. |
|||||||||||||
|
|
[root@server ~]# time mailq | grep -c '^[0-9A-Z]' 10 real 0m1.333s user 0m0.003s sys 0m0.003s (above result indicating that there are 10 email is queue) |
|||||
|
|
If you don't have
qshape prints Postfix queue domain and age distribution information. You can read more about it here: http://www.postfix.org/QSHAPE_README.html Example output
|
||||
|
|
|
Here is an example.
|
||||
|
|