title: Upgraded to Joomla 2.5.6 - "Could not execute: /usr/sbin/sendmail"
body: <p>After upgrading to Joomla 2.5 so that I could use the latest version of Virtuemart, the system emails no longer work.</p>
  
  <p>I have checked the Sendmail path against the entry in the php.ini file. (/usr/sbin/sendmail).</p>
  
  <p>If I try Joomla's Sendmail option I get <code>Could not execute: /usr/sbin/sendmail.</code></p>
  
  <p>If I try PHP Mail I get <code>Could not instantiate mail function.</code></p>
  
  <p>Also, I can no longer upload templates:</p>
  
  <pre><code>JFolder::create: Could not create directory
  Warning: Failed to move file!
  </code></pre>
  
  <p>I understand that I can 777 all the relevant folders to get this to work, but this isn't acceptable. Also, this certainly doesn't help with the mail problem.</p>
  
  <p>File permissions appear the same as they were previously. What does my web host need to change to allow Joomla to do what it did before my upgrade?</p>
  
  <p>Thanks,</p>
  
  <p>Andy</p>
  
  <p>[edit] I copied the site, exported the SQL and migrated to a different server to test. Everything worked fine, so I can confirm that the problem isn't with my Joomla install, but with the server environment.</p>