# Intrusion Detection - Wrong from email

**URL:** <https://forums.vitalpbx.org/t/intrusion-detection-wrong-from-email/883>\
**Category:** Reporting an Issue\
**Created:** [January 19, 2022, 10:16am UTC](https://forums.vitalpbx.org/t/intrusion-detection-wrong-from-email/883 "2022-01-19T10:16:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![EINM](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/einm/32/375_2.png) [@EINM](https://forums.vitalpbx.org/u/EINM)\
**Post date:** [January 19, 2022, 10:16am UTC](https://forums.vitalpbx.org/t/intrusion-detection-wrong-from-email/883/1 "2022-01-19T10:16:23Z")

</div>

Hello,

I noticed that Intrusion detection is sending emails when an IP gets banned from root@hostname instead of using the From email specified under Admin \> System Settings \> System Misc \> Notifications or Admin \> System Settings \> Email Settings

Thank you.

---

<div class="post-metadata">

**Author:** ![miguel](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/miguel/32/415_2.png) [@miguel](https://forums.vitalpbx.org/u/miguel)\
**Post date:** [January 19, 2022, 2:48pm UTC](https://forums.vitalpbx.org/t/intrusion-detection-wrong-from-email/883/2 "2022-01-19T14:48:36Z")

</div>

Thanks for reporting it. We will check it.

---

<div class="post-metadata">

**Author:** ![miguel](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/miguel/32/415_2.png) [@miguel](https://forums.vitalpbx.org/u/miguel)\
**Post date:** [February 7, 2022, 11:42pm UTC](https://forums.vitalpbx.org/t/intrusion-detection-wrong-from-email/883/3 "2022-02-07T23:42:02Z")

</div>

We have addressed this issue on [VitalPBX 3.1.5 R4](https://forums.vitalpbx.org/t/vitalpbx-3-1-5-r4-is-now-available/962)

---

<div class="post-metadata">

**Author:** ![PitzKey](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/pitzkey/32/420_2.png) [@PitzKey](https://forums.vitalpbx.org/u/PitzKey)\
**Post date:** [May 10, 2022, 8:15am UTC](https://forums.vitalpbx.org/t/intrusion-detection-wrong-from-email/883/4 "2022-05-10T08:15:49Z")

</div>

Seems like this issue is back in the latest version.

Here’s a raw email that was blocked by our SMTP gateway due to it using a wrong from address.

```auto
Received: from pbx1.domain.local (unknown [123.456.7.89])
	by p-pm-outbound04c-aws-useast1c.smtpservice.com (Postfix) with ESMTPA id 12D94405B4F
	for <email-to@domain.com>; Tue, 10 May 2022 07:22:06 +0000 (UTC)
Received: by pbx1.domain.local (Postfix, from userid 0)
	id 5AB06841C25; Tue, 10 May 2022 03:17:04 -0400 (EDT)
Subject: [Fail2Ban] apache-forbidden: started on pbx1.domain.local
Date: Tue, 10 May 2022 03:17:04 -0400
From: Fail2Ban <root@pbx1.domain.local>
To: email-to@domain.com
Message-Id: <20220510071704.5AB06841C25@pbx1.domain.local>

Hi,

The jail apache-forbidden has been started successfully.

Regards,

Fail2Ban

```
