Re: [PHP] reading Qmail boxes

[email protected] (Per Jessen)
Newsgroups php.general
Organization Per Jessens personal news-server
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.