icinga2 icon indicating copy to clipboard operation
icinga2 copied to clipboard

having issues with mail

Open ziv1234 opened this issue 3 years ago • 3 comments

Hello,

I saw the issues https://github.com/jjethwa/icinga2/issues/221 and https://github.com/jjethwa/icinga2/issues/200. I am running into similar issues.

I looked in my container and it seems that it still has mailutils installed and not bsd-mailx

root@icinga2:/# ls -l /etc/alternatives/mail lrwxrwxrwx 1 root root 23 Nov 12 12:14 /etc/alternatives/mail -> /usr/bin/mail.mailutils

I pulled the container from Docker hub. Is it possible that it is outdated?

Thanks, Ziv

ziv1234 avatar Nov 18 '21 07:11 ziv1234

Hi @ziv1234

Thanks for the report. Which tag did you pull down? The PR was merged and is latest: https://github.com/jjethwa/icinga2/blob/e0da863cfc619b7bab594c6b9a833320caed8358/Dockerfile#L35

jjethwa avatar Nov 18 '21 09:11 jjethwa

I use jordan/icinga2:latest BTW, adding the mail.rc solved the problem, but it is better to run in the standard way

ziv1234 avatar Nov 18 '21 10:11 ziv1234

Thanks, @ziv1234

I'll do some investigation, maybe something changed with the bsd-mailx package recently

jjethwa avatar Nov 18 '21 11:11 jjethwa