|
Posted by C. on 11/23/07 13:04
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.
Navigation:
[Reply to this message]
|