Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have searched the web all the way but could not find any answer. I have an EC2 Ubuntu Server x64 12.04 deployed. It was created as an exact copy of already configured webserver. I am trying to configure this instance for new website. I'am missing only one thing: sendmail functionality. On original webserver i have configured msmtp. On the copy i am working on i wanted do change the msmtp account settings, or even completely disable it but nothing helps.

  1. I have changed /etc/msmtp/msmtprc configuration file to use different acccount
  2. I have commented out " sendmail_path = "/usr/bin/msmtp -t" " line in /etc/php5/apache2/php.ini to disable the functionality altogether,
  3. Restarted both nginx & apache2, rebooted server

Using mail() in php still sends emails from originally configured account

Any help will be greatly appreciated. If you need to see any logs or detailed conf files please let me know.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.