Thursday, February 25, 2021

Integrate sendmail Linux EC2 and AWS SES

 1. Configure AWS SES Service as per instructions below:

https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-set-up.html


2. Install sendmail

sudo yum install sendmail

sudo yum install m4

sudo yum install sendmail-cf


3. Follow the below steps from AWS:

https://docs.aws.amazon.com/ses/latest/dg/send-email-sendmail.html


4. Test by running the following command:

echo "Subject: sendmail test" | sendmail -f sender@domain.com  -v destination@domain.com

No comments:

Post a Comment