Intrusion Detection - Wrong from email


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.


Thanks for reporting it. We will check it.

1 Like

We have addressed this issue on VitalPBX 3.1.5 R4

1 Like

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.

Received: from pbx1.domain.local (unknown [123.456.7.89])
	by (Postfix) with ESMTPA id 12D94405B4F
	for <>; 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>
Message-Id: <20220510071704.5AB06841C25@pbx1.domain.local>


The jail apache-forbidden has been started successfully.