CMK version:
2.0.0p16.cre
OS version:
Debian 11
Error message:
I’ve installed postfix as MTA to send through smarthost and from CLI is working correcly
OMD[my_site]:~$echo "some text" | mail -s "mail test" my_email@mydomain.com
on /var/log/mail.log I can see correctly
Sep 1 14:24:58 srv-service postfix/pickup[748354]: 04E04249EB: uid=998 from=<my_site>
Sep 1 14:24:58 srv-service postfix/qmgr[458506]: 04E04249EB: from=<my_site@mydomain.com>, size=490, nrcpt=1 (queue active)
If I enable Notification instead on /var/log/mail.log i found
Sep 1 14:34:36 srv-service postfix/pickup[748354]: 72DE5249EB: uid=998 from=<my_site@srv-service.mydomain.local>
Sep 1 14:34:36 srv-service postfix/qmgr[458506]: 72DE5249EB: from=<my_site@srv-service.mydomain.local>, size=164995, nrcpt=1 (queue active)
I was expected to see checkmk notifications email from reporting@mydomain.com as per /omd/sites/refrion_site/etc/omd/site.conf
CONFIG_ADMIN_MAIL=‘reporting@mydomain.com’
CONFIG_APACHE_MODE=‘own’
CONFIG_APACHE_TCP_ADDR=‘127.0.0.1’
CONFIG_APACHE_TCP_PORT=‘5000’
CONFIG_AUTOSTART=‘on’
CONFIG_CORE=‘nagios’
CONFIG_LIVESTATUS_TCP=‘off’
CONFIG_LIVESTATUS_TCP_ONLY_FROM=‘0.0.0.0 ::/0’
CONFIG_LIVESTATUS_TCP_PORT=‘6557’
CONFIG_LIVESTATUS_TCP_TLS=‘on’
CONFIG_MKEVENTD=‘on’
CONFIG_MKEVENTD_SNMPTRAP=‘off’
CONFIG_MKEVENTD_SYSLOG=‘off’
CONFIG_MKEVENTD_SYSLOG_TCP=‘off’
CONFIG_MULTISITE_AUTHORISATION=‘on’
CONFIG_MULTISITE_COOKIE_AUTH=‘on’
CONFIG_NAGIOS_THEME=‘classicui’
CONFIG_NSCA=‘off’
CONFIG_NSCA_TCP_PORT=‘5667’
CONFIG_PNP4NAGIOS=‘on’
CONFIG_TMPFS=‘on’
My smarthost is accepting only email from mydomain.com so i don’t receive Notifications: any suggestion on how to change the from address?
Thanks in advance
