Problem with enabling notifications with postfix

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Jessuzz94
Posts: 162
Joined: Thu Jun 04, 2015 12:08 pm

Re: Problem with enabling notifications with postfix

Post by Jessuzz94 »

Okay, the configuration to allow the ISP to gmail in my ubuntu in main.cf of postfix, would be the same in centos?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Problem with enabling notifications with postfix

Post by tgriep »

Yes.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Jessuzz94
Posts: 162
Joined: Thu Jun 04, 2015 12:08 pm

Re: Problem with enabling notifications with postfix

Post by Jessuzz94 »

But in the configuration of ubuntu i have this:

Code: Select all

relayhost =[smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_use_tls = yes
that cacert.pem is neccesary on centos?, because with the tutorial of ubuntu i cant see the certs
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Problem with enabling notifications with postfix

Post by jdalrymple »

The directive smtp_tls_CAfile or smtp_tls_CApath will be required if you're using TLS. Without it postfix has no way to verify the certificate chain presented by the smtp server.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Problem with enabling notifications with postfix

Post by tgriep »

You would have to contact support at gmail for that.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Jessuzz94
Posts: 162
Joined: Thu Jun 04, 2015 12:08 pm

Re: Problem with enabling notifications with postfix

Post by Jessuzz94 »

Oh okay:/, can look this thread, very thanks!
Locked