Page 5 of 5

Re: Problem with enabling notifications with postfix

Posted: Wed Jul 22, 2015 3:55 pm
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?

Re: Problem with enabling notifications with postfix

Posted: Wed Jul 22, 2015 4:23 pm
by tgriep
Yes.

Re: Problem with enabling notifications with postfix

Posted: Thu Jul 23, 2015 12:11 pm
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

Re: Problem with enabling notifications with postfix

Posted: Thu Jul 23, 2015 12:21 pm
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.

Re: Problem with enabling notifications with postfix

Posted: Thu Jul 23, 2015 12:24 pm
by tgriep
You would have to contact support at gmail for that.

Re: Problem with enabling notifications with postfix

Posted: Thu Jul 23, 2015 2:52 pm
by Jessuzz94
Oh okay:/, can look this thread, very thanks!