hi guys,
can somebody help me with notification mail so that nagios send notifications on gmail account ..i running centos7 nagios 4.1.1 core with postfix..i try some guids that i find but no luck for me...notification mail is working on my server(local), but i would like to have those notifications on gmail account to...please let me know if u need any additional info
regards
igsmigs
nagios smtp gmail account
Re: nagios smtp gmail account
Can I get some clarification here? Gmail should be able to receive email from sendmail just fine, but generally sends it to the spam folder in my experience.
Former Nagios Employee.
me.
me.
Re: nagios smtp gmail account
Could you please check your logfiles if it possible to mail to gmail?
Normally the infor should be in /var/log/maillog
Normally the infor should be in /var/log/maillog
Rob Hassing


Re: nagios smtp gmail account
hi,
i finaly setup nagios to send notification to gmail account ... i configure postfix main.cf
relayhost = smtp.gmail.com:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
and create sasl passwd in etc/postfix .. and put there - smtp.gmail.com:587 username:pass
after that just hit postmap /etc/postfix/sasl_passwd
and finish...in gmail account turn on allow apps options
bye
i finaly setup nagios to send notification to gmail account ... i configure postfix main.cf
relayhost = smtp.gmail.com:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
and create sasl passwd in etc/postfix .. and put there - smtp.gmail.com:587 username:pass
after that just hit postmap /etc/postfix/sasl_passwd
and finish...in gmail account turn on allow apps options
bye
Re: nagios smtp gmail account
Thanks for letting us know how you accomplished it! Am I good to close this thread now or do you need more assistance?
Former Nagios Employee
Re: nagios smtp gmail account
hi,
u can close this ticket
thnx
u can close this ticket
thnx