Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Dec 03, 2005 12:34 pm 
Offline

Joined: Sat Dec 03, 2005 12:31 pm
Posts: 1
Hey everybody,

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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group