exim php shell_exec question

Hi,

I'm trying to have the number of messages in a mailqueue echoed to a web page.

When I use:

Code:
$mailqueue = shell_exec("exim -bpc");
I just see:

Code:
exim: permission denied
in the apache error log.

Any ideas how I could get round this?

Cheers

Simon

 

 

 

 

Top