We have been trying to set up email or telegram notifications in Icinga2 Director for a long time, but we can’t find any useful help on how to set them up or the posts are outdated.
Do we need a dedicated mail server for notifications or do we need to set up a Postfix relay host?
Could you give us tips on how to set this up successfully?
for mail notifications I have used postifx to relay the messages to a mail host (mostly Exchange servers).
So simply setup postfix as a mail relay. I also use canonical maps to set the sender address based on the linux user that is sending the mail.
we have set up a postfix relay host and also tested with mailx, mails are sent out. However, when we want to send a notification from the Icinga Director to a host, it does not pass this to Postfix or Postfix never receives anything.
We suspect it may be the Apply Rule, but can’t find what could be causing it.