Re: [exim] exim php shell_exec question

2006-02-17 Thread Phil Pennock
On 2006-02-16 at 14:33 -0800, John W. Baxter wrote: I'm rather surprised that in all of Exim's years, no one has written and contributed a set of SNMP agents (if that's the right SNMP jargon) to provide this sort of information. Someone posted details of their set-up a while back; I think

[exim] exim php shell_exec question

2006-02-16 Thread xperience
Hi, I'm trying to have the number of messages in a mailqueue echoed to a web page. When I use: $mailqueue = shell_exec(exim -bpc); I just see: exim: permission denied in the apache error log. Any ideas how I could get round this? Cheers Simon -- xperience

RE: [exim] exim php shell_exec question

2006-02-16 Thread Steffen Heil
Hi $mailqueue = shell_exec(exim -bpc); exim: permission denied Any ideas how I could get round this? A way around this would be: install sudo, write the command above to a script, set root execution rights for the script to everyone, call sudo script from php. But I am not really sure, you

Re: [exim] exim php shell_exec question

2006-02-16 Thread Nigel Metheringham
On Wed, 2006-02-15 at 14:14 -0500, xperience wrote: Any ideas how I could get round this? http://www.exim.org/exim-html-4.60/doc/html/spec.html/ch14.html#id2589313 Nigel. -- [ Nigel Metheringham [EMAIL PROTECTED] ] [ - Comments in this message are my own and not ITO

Re: [exim] exim php shell_exec question

2006-02-16 Thread W B Hacker
Steffen Heil wrote: Hi $mailqueue = shell_exec(exim -bpc); exim: permission denied Any ideas how I could get round this? A way around this would be: install sudo, write the command above to a script, set root execution rights for the script to everyone, call sudo script from php. But I

Re: [exim] exim php shell_exec question

2006-02-16 Thread John W. Baxter
On 2/15/06 11:14 AM, xperience [EMAIL PROTECTED] wrote: I'm trying to have the number of messages in a mailqueue echoed to a web page. When I use: $mailqueue = shell_exec(exim -bpc); I just see: exim: permission denied in the apache error log. Any ideas how I could get round