I have Magento store deployed on an ec2 instance which was moved from shared hosting to the standalone server on AWS. On the server, I have configured Postfix as the MTA agent to allow Magento to send emails about orders and transaction details. On the shared server, the emails would be sent to the customer correctly.
But on EC2 instance Magento is unable to send the emails. How can I make Magento send client Emails?
Postfix is configured correctly and I am able to send Test emails from the command line using postfix from port 25
To configure Magento 1.9 to use Postfix as your email service provider, follow these steps:
Connect to your server via SSH or your preferred method.
Install Postfix by running the following command:
swift
Copy code
sudo apt-get install postfix
During the installation process, you will be prompted to configure Postfix. Choose "Internet Site" as the configuration type, and enter your domain name as the system mail name.
Once Postfix is installed, open the Magento admin panel.
Go to System -> Configuration -> Advanced -> System -> Mail Sending Settings.
Set the "Disable Email Communications" option to "No".
In the "Host" field, enter "localhost" (without the quotes).
In the "Port" field, enter "25" (without the quotes).
In the "Set Return-Path" field, select "Yes".
In the "Return-Path Email" field, enter your email address.
Click "Save Config" to save your changes.
Magento 1.9 should now be configured to use Postfix as your email service provider.
Regardss,
Rachel Gomez