Ad Widget

Collapse

Zabbix cannot send email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbixacs
    Junior Member
    • Aug 2016
    • 4

    #1

    Zabbix cannot send email

    All i want to ask, my zabbix server can send email for alert in the past.

    But now my zabbix server cannot send email.

    The error is Timeout was reached: Connection timed out after 40000 milliseconds.

    Can anyone help me ?

    Regards
    Melvin
  • MightBeAWizard
    Member
    • May 2016
    • 33

    #2
    Looks like the problem is in the connection between zabbix server and your email server, hard to say what the exact problem would be with so little information.

    Comment

    • perun.84
      Member
      • May 2016
      • 73

      #3
      What is your email settings in Administration - Media Types - Email?

      Comment

      • zabbixacs
        Junior Member
        • Aug 2016
        • 4

        #4
        This is my email setting in Administration - Media Types - Email

        Can anyone help ?

        Comment

        • perun.84
          Member
          • May 2016
          • 73

          #5
          Did you try to telnet to aksesciptasolusi.com to port 465? Have you found anything interesting in zabbix server log file or mail log file?

          Comment

          • Mr.Pelovski
            Junior Member
            • Aug 2016
            • 17

            #6
            Dude if u have 2 NICs on the server maybe u need static route or that name of the server zabbix dont know where is it use IP to try

            Comment

            • zabbixacs
              Junior Member
              • Aug 2016
              • 4

              #7
              Dear all,

              Thank you for your answer, now my zabbix can send email again.

              I change SMTP server to ip local mail server.

              And uncheck SSL verify peer and SSL verify host.

              Comment

              • pc99096
                Senior Member
                • Oct 2011
                • 193

                #8
                interesting ip address you are using, was that supposed to be some kind of mixed private ip?
                172.168.100.39

                Comment

                • ygemlak
                  Junior Member
                  • Aug 2016
                  • 1

                  #9
                  Thank you for your answer, now my zabbix can send email again.

                  Comment

                  • Jeevananthan
                    Junior Member
                    • Jul 2018
                    • 4

                    #10
                    @All, my zabbix server unable to send mail, I am using gmail SMTP for mail alert. while checking in zabbix server log I found error "failed to send email: Timeout was reached: Operation timed out after 40001 milliseconds with 0 out of 0 bytes received".
                    FYR : Below attached SMTP configuration screen shot
                    Attached Files

                    Comment

                    • dimir
                      Zabbix developer
                      • Apr 2011
                      • 1080

                      #11
                      Change port to 465.

                      Comment

                      • Jeevananthan
                        Junior Member
                        • Jul 2018
                        • 4

                        #12
                        dimir , Now working fine ,thank you

                        Comment

                        • mohamadsajedi
                          Junior Member
                          • Apr 2019
                          • 2

                          #13
                          Hello dear all,,, I Have the same problem. so i can send mail via cli but zabbix can not send mail to admin...I mean when i send mail via cli, its sending from gmail account but zabbix can not do this..everything i checked is ok... this is my EMAIL configuration :
                          I had installed postfix on zabbix server and configured that for realying to Gmail... it works fine and i can send mail via command line.
                          it seems that i've missed some configuration,,, any idea?
                          also I'm using zabbix server V4.0 and i checked other port and features like port 465 and 25.
                          can somebody help me
                          kind regards
                          Attached Files

                          Comment

                          Working...