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.
- I have changed /etc/msmtp/msmtprc configuration file to use different acccount
- I have commented out " sendmail_path = "/usr/bin/msmtp -t" " line in /etc/php5/apache2/php.ini to disable the functionality altogether,
- 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.