Ad Widget

Collapse

failed to send email after upgrade from Zabbix 5.0 to 6.0 LTS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cloud8x4
    Junior Member
    • Dec 2013
    • 24

    #1

    failed to send email after upgrade from Zabbix 5.0 to 6.0 LTS

    Hi,

    Until last week, I used Zabbix 5.0 LTS on a zabbix web and a zabbix server docker via docker-compose.

    I had several actions working, using the following configuration mail configuration.

    Click image for larger version  Name:	image.png Views:	0 Size:	51.0 KB ID:	465837

    After the upgrade, using docker-compose, e-mails are not sent.

    The docker log shows `failed to send email: Timeout was reached: Connection timed out after 40001 milliseconds`.

    I tried changing the port from 587 to 465 and 25.

    I tried setting the username and password again.

    Running `telnet email-smtp.eu-west-1.amazonaws.com 587` results in `220 email-smtp.amazonaws.com ESMTP SimpleEmailService-d-23UDTQ3MO 5GJgwrIGumdOLTspYliE`. I don't expect that suddenly something changed in the network so the SMTP service should be available.

    I tried turning off authentication.

    I tried creating a new media type using the same settings.

    Please help.

    Thanks in advance.
  • Cloud8x4
    Junior Member
    • Dec 2013
    • 24

    #2
    Yesterday I followed the instructions in the Zabbix 6.0 upgrade manual to add primary keys.

    Sources

    https://git.zabbix.com/projects/ZBX/...35c88a02dc8365 .

    So I stopped the zabbix dockers and ran the procedure.

    After starting the docker for the zabbix-server again, the logs then showed `failed to send email: Login denied` instead of the timeout message earlier.

    Renewing the credentials in Amazon and the updating the media type credentials via zabbix web hen solved the issue.

    E-mails are sent again.

    So it is unclear what was the cause of the issue and what exactly the solution, but I'm happy it works again.

    Comment

    Working...