i wrote a script, which runs
echo shell_exec("exim -bp");
so it simply gives me the current mail queue.
However, it only works when called by user "root", because exim won't
let "group" or "others" execute it.
So, i cannot use it with apache, because it runs as "nobody".
Well, i saw scripts that can do so, but i have no clue how it is
possible for them.
Does anyone have an idea?
I thought about adding a cron-job and let it update a file every 5
minutes with the current mail queue, but that will cause unnecesary load
and it won't be up2date.
So, any ideas are welcome,
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php