CentOS 7 Postfix Gmail SMTP not working !!!

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.
Post Reply
LamyaImam
Posts: 2
Joined: Mon Jun 05, 2023 4:34 pm

CentOS 7 Postfix Gmail SMTP not working !!!

Post by LamyaImam »

I am using Nagios Core 4.4.6 on CentOS 7. Everything was fine while I was using sendmail for mail notification but recently my manager asked me to use postfix instead (Gmail SMTP with app password). There probably might have been an issue with the configuration. If anyone could guide me, would really appreciate. Worked fine on Ubuntu but CentOS seems a bit tricky. Also, mail body is blank, doesn't show any information.
Thanks in advance!
sgardil
Posts: 123
Joined: Wed Aug 09, 2023 9:58 am

Re: CentOS 7 Postfix Gmail SMTP not working !!!

Post by sgardil »

Hey @LamyaImam

There may be a few things that are blocking this, the configuration is probably the first place to start. I will link some documentation that may help. If you alter the configuration and it still doesn't work I would next try checking to see if your firewall is the issue. Let us know if this helps.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Post Reply