Page 1 of 1

Nagios mail setting with aws smtp

Posted: Thu Feb 13, 2020 12:34 am
by darekarsushil
Hi Team,

I am struggling to integrate the aws smtp with postfix on nagios deployed on ubuntu 18.04 .

i tired multiple ways but things did not work..

i followed the below url to install nagios:
https://www.digitalocean.com/community/ ... untu-18-04

and below is my main.cf file config

relayhost = [email-**amazonaws.com]:25
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
inet_protocols = all
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = encrypt
smtp_use_tls = yes
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt

realy appreciate if any one has faced the samre issue and able to resolve it

Re: Nagios mail setting with aws smtp

Posted: Thu Feb 13, 2020 2:59 pm
by scottwilkerson
This is outside the scope of Nagios support, but the guide I believe you need to follow is this

https://docs.aws.amazon.com/ses/latest/ ... stfix.html

Beyond that, we do not have experience with setting up AWS SMTP through postfix