Author Topic: sendmail problem  (Read 2085 times)

0 Members and 1 Guest are viewing this topic.

Offline rogelio23Topic starter

  • Irregular
  • Posts: 2
    • View Profile
sendmail problem
« on: December 06, 2006, 04:14:35 AM »
My mail function is not working:

Please help me fix this,  the error  message appear like this: Permission denied: unable to execute shell to run mail delivery binary

I tried running this mail function on linux at the command line, and its run correctly. but on browser the error message appeared.

Offline the_oliver

  • Enthusiast
  • Posts: 364
  • Gender: Male
    • View Profile
    • ohelm.co.uk
Re: sendmail problem
« Reply #1 on: December 06, 2006, 07:42:51 PM »
how are the permitions set on the files?

Offline rogelio23Topic starter

  • Irregular
  • Posts: 2
    • View Profile
Re: sendmail problem
« Reply #2 on: December 06, 2006, 07:49:33 PM »
the php file is public with 777 chmod. From my understanding the sendmail is not accepting mail function call from browser because when I did this on the command line its working. How do I set that the sendmail will permit the browser mail function call.

Offline the_oliver

  • Enthusiast
  • Posts: 364
  • Gender: Male
    • View Profile
    • ohelm.co.uk
Re: sendmail problem
« Reply #3 on: December 07, 2006, 06:02:19 AM »
I would place money on if being an option in the config.  Mine lives in /etc/mail/sendmail.mc
Try altering that and then make it.

Strange thing is that the server should regard it as a local user trying to send mail.  It will receve the message from the local apache user on your mashine.  Can you send mail from the apache account?  (loggin as root, su apache etc).  That could shed lighit on the area!

Im leaning more towords it being  a code thing.  Perhaps your sendmail is asking for authorisating?