SquirrelMail: 127 Can't execute command

I found a Plesk 8.3 server running RHEL 4 last month that was presenting errors when users attempted to send e-mail via SquirrelMail:

ERROR:
Email delivery error
Server replied: 127 Can't execute command '/usr/sbin/sendmail -i -t -fsomeuser@somedomain.com'.

The error was appearing because safe_mode was enabled and SquirrelMail was unable to drop e-mails into /usr/sbin/squirrelmail. After disabling safe_mode on the server, the users were able to send e-mails via SquirrelMail.

Printed from: http://rackerhacker.com/2008/09/08/squirrelmail-127-cant-execute-command/ .
© Major Hayden 2012.

2 Comments   »

  • breun says:

    Instead of disabling PHP safe_mode completely you can also just disable it for SquirrelMail's location/directory.

  • wuweiming says:

    how to deal it?can you tell me more about it .

RSS feed for comments on this post

Leave a Reply

 

  • Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you find the information useful. If you spot something that's incorrect or confusing, please write a comment and let me know. Drop me a line if there's something you want to know more about and I'll do my best to write a post on the topic.
    -- Major Hayden

    Flattr this