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.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2008/09/08/squirrelmail-127-cant-execute-command/ .
© Major Hayden 2010.

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 , TrackBack URI

Leave a Reply