This is a discussion on How do I se number of mails waiting? within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi How do I get the number of mails waiting to be sent by postfix? (by ssh) I read somwhere ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi
How do I get the number of mails waiting to be sent by postfix? (by ssh) I read somwhere that "postfix-resend --stats" should do the trick, is that right? (I'm no linux-shark so i'd rather ask you folks on beforehand) thanx |
|
|||
|
On 25 Mar., 11:34, ask <ask...@gmail.com> wrote:
> Hi > > How do I get the number of mails waiting to be sent by postfix? (by > ssh) > > I read somwhere that "postfix-resend --stats" should do the trick, is > that right? (I'm no linux-shark so i'd rather ask you folks on > beforehand) > > thanx seems "mailq" does the trick.... just annoying when you have like 100.000 in your queue. I was looking for a function that did not have to cycle all mails to tell me the total number in queue |
|
|||
|
ask schrieb:
> > seems "mailq" does the trick.... just annoying when you have like > 100.000 in your queue. I was looking for a function that did not have > to cycle all mails to tell me the total number in queue Just make a scriptfile like mailq | grep "^-- " This will just output something like -- 2 Kbytes in 2 Requests. and nothing else. -Matt |
![]() |
| Thread Tools | |
| Display Modes | |
|
|