Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just migrated to a new server and apparently I can't send a mail. I've "ipb board" installed there and every time I send a mail I get the following in error_log sh: -t: command not found

ls -l /usr/sbin/sendmail
lrwxrwxrwx 1 root root 21 Dec 19 22:57 /usr/sbin/sendmail -> /etc/alternatives/mta

rpm -qa | grep send
share|improve this question

closed as off-topic by Jenny D, Dave M, mdpc, cole, Helvick Dec 20 '13 at 19:38

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Jenny D, Dave M, mdpc, cole
If this question can be reworded to fit the rules in the help center, please edit the question.

And ls -l /etc/alternatives/mta ? – Dom Dec 20 '13 at 7:55
up vote 1 down vote accepted

To solve this problem I added sendmail_path = /usr/sbin/sendmail -t -i to php.ini

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.