# Server sends mails after reinstallation/migration

**URL:** <https://community.icinga.com/t/server-sends-mails-after-reinstallation-migration/12727>\
**Category:** Icinga 2\
**Created:** [October 10, 2023, 6:01am UTC](https://community.icinga.com/t/server-sends-mails-after-reinstallation-migration/12727 "2023-10-10T06:01:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bebef](https://community.icinga.com/user_avatar/community.icinga.com/bebef/32/2691_2.png) [@Bebef](https://community.icinga.com/u/Bebef)\
**Post date:** [October 10, 2023, 6:01am UTC](https://community.icinga.com/t/server-sends-mails-after-reinstallation-migration/12727/1 "2023-10-10T06:01:57Z")

</div>

Hi everyone 👋

I have re-installed a server and simply moved /etc/icinga\* to the new machine. Monitoring itself works as expected, but the server now also sends monitoring emails. I wonder why that is and how to disable it.

I wonder even more why it suddenly sends mail (and no other server does in my setup).

Cheers

---

<div class="post-metadata">

**Author:** ![rsx](https://community.icinga.com/user_avatar/community.icinga.com/rsx/32/2094_2.png) [@rsx](https://community.icinga.com/u/rsx)\
**Post date:** [October 10, 2023, 6:36am UTC](https://community.icinga.com/t/server-sends-mails-after-reinstallation-migration/12727/2 "2023-10-10T06:36:26Z")

</div>

Just run `icinga2 feature disable notification`.

---

<div class="post-metadata">

**Author:** ![Bebef](https://community.icinga.com/user_avatar/community.icinga.com/bebef/32/2691_2.png) [@Bebef](https://community.icinga.com/u/Bebef)\
**Post date:** [October 10, 2023, 6:59am UTC](https://community.icinga.com/t/server-sends-mails-after-reinstallation-migration/12727/3 "2023-10-10T06:59:01Z")

</div>

Yeah, that will probably turn off notifications. But what does it exactly? Remove notifications from `features-enabled`? Would that be the default on a fresh Ubuntu LTS installation?
