pfSense email flood issue
-
Hmm, this should prevent that happening unless the notices are sent as 'forced':
https://github.com/pfsense/pfsense/blob/RELENG_2_6_0/src/etc/inc/notices.inc#L334Probably time to open a bug report and get some developer eyes on it. I failed to replicate it here though.
Steve
-
@stephenw10 I'll briefly explain my setup and how I can replicate the problem.
-2 PPPoE WANs (tier1 and tier2).
-One ups (by cyberpower, I don't think this matter but the user @DT-0 happened to also have one).Unplug the ups , after about 5 seconds unplug the wan2. Doing so I'm able to replicate the email flood problem.
I'm going to open a bug report for now, thanks
-
Are you running NUT or apcupsd? I assume you must be from the alerts you have.
-
@stephenw10 I'm running NUT.
-
The problem persists. Just had the WAN go down for a few minutes and come back up. Email notification was sent to advise "DynDNS updated IP Address on WAN (pppoe0) to" This is where the problem (bug) is -- the same email notification keeps on repeating. Perhaps because this is the last notification sent. Only way to stop is disable SMTP notifications and reboot. I thought a re-install of 2.6.0 solved this but no. This issue was introduced in 2.6.0
My dynamic DNS client is No-IP so I don't know if the bug is unique to No-IP. I am also using NUT (CyberPower).
Also, contrary to the release 2.6.0 notes indicating the No-IP complex password issue was solved, it is not. The patch is still required. I have yet to try another DNS client but I might.
-
Looks like the bug was opened here: https://redmine.pfsense.org/issues/13224
I would add any additional debugging info you have there.
Steve
-
I have the same issue having recently upgraded to 2.6.0 from 2.5.2.
I have dual WAN in failover mode (cable and backup 4G) and earlier I rebooted the cable modem. In 2.5.2 I would receive emails for loss of that WAN connection and then restore and these would also be mixed with NUT related emails as it would lose and regain connection to the UPS.
With 2.6.0 I got the those usual emails and then the one for restore of the WAN kept repeating around 5 times a minute and over 100 times until I rebooted. Every time is was the same message (time stamp for restore didn't change):
Notifications in this message: 1
16:44:22 MONITOR: WAN_DHCP is available now, adding to routing group WAN_GROUP 8.8.8.8|xx.xx.xx.xx|WAN_DHCP|23.215ms|4.754ms|0.0%|online|none]I see the bug is still open, so is there any specific info from my installation I can provide to assist?
-
Check the logs. Check the notices_lastmsg.txt file referenced there.
If you're seeing anything not already mentioned there add it to the bug.Steve
-
I see the bug is still open, so is there any specific info
from my installation I can provide to assist?Perhaps also a fresh install?