Problems sending mail from PHP with XMail
I have XMail installed under Debian and it's working okay, except I'm unable to send mail from a PHP script under apache2.
When I issue the mail() function, I get the following error in my error_log:
cannot find environment variable: MAIL_ROOT
MAIL_ROOT is set to /var/MailRoot in the init.d script. I've tried setting it manually with an export command, but I still get the same thing. I even tried Apache's SetEnv function to set it on startup but the error persists.
Any linux gurus out there have any ideas?
Thanks!
Ben