How to perfectly configure zabbix gmail notification with postfix(relay to gmail)
Actually this setup is working on my local machine but when I try to implement this on my real servers, email notification is failed and I could see the following error in audit
Cannot connect to SMTP server [localhost] [gethost() failed for address 'localhost' [Success]]
my /var/log/mail.log message
Aug 26 00:14:31 station1 postfix/smtpd[9385]: connect from localhost.localdomain[127.0.0.1]
Aug 26 00:14:31 station1 postfix/smtpd[9385]: disconnect from localhost.localdomain[127.0.0.1]
Aug 26 00:15:31 station1 postfix/smtpd[9385]: connect from localhost.localdomain[127.0.0.1]
Aug 26 00:15:31 station1 postfix/smtpd[9385]: disconnect from localhost.localdomain[127.0.0.1]
Thanks all!
Actually this setup is working on my local machine but when I try to implement this on my real servers, email notification is failed and I could see the following error in audit
Cannot connect to SMTP server [localhost] [gethost() failed for address 'localhost' [Success]]
my /var/log/mail.log message
Aug 26 00:14:31 station1 postfix/smtpd[9385]: connect from localhost.localdomain[127.0.0.1]
Aug 26 00:14:31 station1 postfix/smtpd[9385]: disconnect from localhost.localdomain[127.0.0.1]
Aug 26 00:15:31 station1 postfix/smtpd[9385]: connect from localhost.localdomain[127.0.0.1]
Aug 26 00:15:31 station1 postfix/smtpd[9385]: disconnect from localhost.localdomain[127.0.0.1]
Thanks all!
Comment