TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > PHP

Notices

qmail queue from php

PHP


Reply
 
Thread Tools Display Modes
Old 23-11-2007, 04:30 AM   #1
AirYT
Guest
 
Posts: n/a
qmail queue from php

Howdy,

Does anyone out there have a solution to determine the number of messages in
Qmail's queue(s) from PHP (ie. via a qmail-qstat call or something else)?
i have done a lot of google searching, but have turned up nothing so far.
any help would be greatly appreciated.

Thanks,yt



  Reply With Quote
Old 23-11-2007, 06:28 PM   #2
C.
Guest
 
Posts: n/a
Re: qmail queue from php

On 22 Nov, 23:05, "AirYT" <ytNOS...@MAPSONfunkychickens.org> wrote:
> Howdy,
>
> Does anyone out there have a solution to determine the number of messages in
> Qmail's queue(s) from PHP (ie. via a qmail-qstat call or something else)?
> i have done a lot of google searching, but have turned up nothing so far.
> any help would be greatly appreciated.
>
> Thanks,yt


Not used qmail, but every other MTA I've used emulates the sendmail
binaries so....

$count=`mailq | wc -l`;

C.
  Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 12:56 PM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional