# Change sender name when sending mail

**URL:** <https://community.icinga.com/t/change-sender-name-when-sending-mail/9631>\
**Category:** Events and Community\
**Tags:** notifications\
**Created:** [April 9, 2022, 1:11pm UTC](https://community.icinga.com/t/change-sender-name-when-sending-mail/9631 "2022-04-09T13:11:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Sara](https://community.icinga.com/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@Sara](https://community.icinga.com/u/Sara)\
**Post date:** [April 9, 2022, 2:21pm UTC](https://community.icinga.com/t/change-sender-name-when-sending-mail/9631/2 "2022-04-09T14:21:24Z")

</div>

thank you Michael 🙂

> [@Change "mail from" for Icinga notifications](https://community.icinga.com/t/change-mail-from-for-icinga-notifications/190):
>
> Question Change the sender for notifications generated from the mail command with Icinga. Solution Icinga Configuration This depends on the mail notification command you’re using. The provided [examples](https://icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#notification-commands) for mail-{host,service}-notification provide an additional attribute notification\_from which can be set in your notification object/apply rule. apply Notification "mail-icingaadmin" to Service { .... vars.notification\_from = "Icinga Notifications \<icinga-notifications@server.com\>" ... ass…

---

_[View the full topic](https://community.icinga.com/t/change-sender-name-when-sending-mail/9631)._
