icinga2 icon indicating copy to clipboard operation
icinga2 copied to clipboard

mail notification problem

Open og900aero opened this issue 2 years ago • 7 comments

Sending an email doesn't work overnight (only a Debian 11 security update since). The error message is as follows: terminated with exit code 36, output: mail: cannot send message: Process exited with a non-zero status

If I try to send an email with the mail command itself, the same error occurs. I realized something important thing:

Bad: echo "Teszt" | mail -aFrom:[email protected] -s "subject" [email protected] Good: echo "Teszt" | mail -aFrom:[email protected] -s "subject" [email protected]

So if I use a full hostname, it doesn't work, if it's just the domain, it's good. I don't understand what has changed since Friday last week besides the Debian security updates.

og900aero avatar May 23 '22 07:05 og900aero

Hi @og900aero it was actually an entire version update, buster to bullseye . I'll see what I can find out.

jjethwa avatar May 23 '22 08:05 jjethwa

I installed it from sources 1 year ago:

/etc/apt/sources.list.d/bullseye-icinga.list deb https://packages.icinga.com/debian icinga-bullseye main deb-src https://packages.icinga.com/debian icinga-bullseye main

It work until May 21, and update debian: /etc/var/log/apt/history.log

Start-Date: 2022-05-23 08:05:39 Commandline: apt upgrade Requested-By: nio (1000) Upgrade: libldap-common:amd64 (2.4.57+dfsg-3, 2.4.57+dfsg-3+deb11u1), libxml2:amd64 (2.9.10+dfsg-6.7+deb11u1, 2.9.10+dfsg-6.7+deb11u2), libldap-2.4-2:amd64 (2.4.57+dfsg-3, 2.4.57+dfsg-3+deb11u1), libss>End-Date: 2022-05-23 08:05:43

icingacli version: Icinga Web 2 2.9.6 Git Commit e702d933e15b0907628091a03741baff1b6074df PHP Version 7.4.28 MODULE VERSION monitoring 2.9.6

I hold 2.10.1-1 update, because I dont like new colors scheme.

og900aero avatar May 23 '22 11:05 og900aero

icinga2 - The Icinga 2 network monitoring daemon (version: r2.13.3-1)

og900aero avatar May 23 '22 12:05 og900aero

There's a theme selector in the options if you don't like the new defaults 😃

jjethwa avatar May 23 '22 13:05 jjethwa

still trying to find some information, the mail command is from the standard Debian package

jjethwa avatar May 23 '22 13:05 jjethwa

There's a theme selector in the options if you don't like the new defaults 😃

I know, but the usual old theme is not there. Only dark and light, but but none is the same as the old one :)

still trying to find some information, the mail command is from the standard Debian package

Thank u so much :)

og900aero avatar May 23 '22 14:05 og900aero

How about some of the extra themes here: https://exchange.icinga.com/search?q=tags%3A%22Theme%22&page=1

could add them in using a volume

jjethwa avatar May 23 '22 14:05 jjethwa