Re: reading Qmail boxes
| From: | Per Jessen | Date: | Fri, 25 Apr 2008 10:39:21 +0000 |
| Subject: | Re: reading Qmail boxes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273555@lists.php.net to get a copy of this message | ||
Richard Kurth wrote:
> I what to read the email headers that are in a Qmail mailbox so that I
> can run it threw a filter and see what mail bounced for what reason.
> How do I do this being that the ownership on Qmail mailboxes are
> diferent from the owner that runs php and apache
Don't run your script under apache, but with an appropriate userid in
cli mode. If you need the results presented by apache, maybe think of
using suexec().
/Per Jessen, Zürich