RE: [us...@httpd] sending email

2009-06-15 Thread James Zuelow
When you logged in as www-data manually you started a login shell. You can think of that shell as a "pre shell" where all of www-data's dot files were read, environment variables were set, etc. before starting up the command shell. When apache is running, it is not "logged in" as www-data, so n

Re: [us...@httpd] sending email

2009-06-15 Thread Lyle Wincentsen
I have actually found a solution to the problem. The big question I had (but couldn't put into the right words in my original email) was this: does the user that apache runs as (in my case www-data on Debian) read various config files that may be present in its home directory, as happens for regula

Re: [us...@httpd] sending email

2009-06-15 Thread Peter J Milanese
May behoove you to check maillog. Its your local mail exchanger. - Original Message - From: "Richard Peacock" [richard.peac...@minorplanet.com] Sent: 06/15/2009 11:48 AM CET To: Subject: RE: [us...@httpd] sending email I don't think this is an Apache problem, it&#

RE: [us...@httpd] sending email

2009-06-15 Thread Richard Peacock
I don't think this is an Apache problem, it's either bad PHP or problem with your esmtp configuration by the sounds of it. Have you checked the MAN pages for your esmtp program or checked that your PHP replaces any invalid chars that could prevent emails being sent? Have you tried to create a