Configuring Email notifications using AWS SES
Posted: Sun Mar 24, 2019 2:58 am
Hello,
I configured postfix to use the username and password that was generated by aws SES and used the proper port for it. however, When I run the mail command I am unable to send mail but when running the sendmail command, I am able to send mail.
Here's the mail command:
echo "This is the main body of the mail" | mail -s "Subject of the Email" <reciever's email> -f <sender_email/my AWS SES verified email>
And here's the error I am getting:
smtp; 554 Message rejected: Email address is not verified when using the mail command
Diagnostic-Code: smtp; 554 Message rejected: Email address is not verified. The
following identities failed the check in region REGION: root
<root@myserver>,
root@myserver
I have seen other posts online with people having issues with the mail command not working with AWS SES. How does this effect the nagios email alerts? I am unable to use the service to send mail.
I configured postfix to use the username and password that was generated by aws SES and used the proper port for it. however, When I run the mail command I am unable to send mail but when running the sendmail command, I am able to send mail.
Here's the mail command:
echo "This is the main body of the mail" | mail -s "Subject of the Email" <reciever's email> -f <sender_email/my AWS SES verified email>
And here's the error I am getting:
smtp; 554 Message rejected: Email address is not verified when using the mail command
Diagnostic-Code: smtp; 554 Message rejected: Email address is not verified. The
following identities failed the check in region REGION: root
<root@myserver>,
root@myserver
I have seen other posts online with people having issues with the mail command not working with AWS SES. How does this effect the nagios email alerts? I am unable to use the service to send mail.