Page 1 of 1

LF_TEMPBLOCK_ALERT option

Posted: 16 Nov 2016, 13:53
by Black Tiger
CSF is great but I'm missing a "LF_TEMPBLOCK_ALERT = x" option.

You can use the LF_EMAIL_ALERT or LF_PERMBLOCK_ALERT options, but since permblocks won't be automatically removed (normally) and I do want to be alerted about other options (which I guess more people would like), the tempblock option is missing.

Temblocks will be removed automatically and generate a lot of email alerts, which in a lot of cases you don't need or you can always lookup the block reason in the lfd.log.

So please add a LF_TEMPBLOCK)_ALERT option so we can disable notifications about temp blocks. :)

Re: LF_TEMPBLOCK_ALERT option

Posted: 11 Jul 2019, 21:39
by scrupul0us
Got my vote, this would be very useful to keep the "noise" down.

Re: LF_TEMPBLOCK_ALERT option

Posted: 06 Sep 2020, 06:49
by btekcan
Yes I need this function also 👍 We get tousend nail every day 🙁

Re: LF_TEMPBLOCK_ALERT option

Posted: 09 Sep 2020, 01:31
by bayden10
I agree, this would be a nice addition.

Re: LF_TEMPBLOCK_ALERT option

Posted: 19 Oct 2020, 16:42
by scrupul0us
This would be very easy to implement:

In csf.conf create a new option:

Code: Select all

LF_TEMP_EMAIL_ALERT = "1"
Then in lfd.pl alter the conditional on line 2520 to:

Code: Select all

if ($config{LF_EMAIL_ALERT} && ($perm || (!$perm && $config{LF_TEMP_EMAIL_ALERT})))

Re: LF_TEMPBLOCK_ALERT option

Posted: 10 Nov 2020, 17:03
by ForumAdmin
We've added this in v14.08 which has just been released:
https://blog.configserver.com/

Re: LF_TEMPBLOCK_ALERT option

Posted: 10 Nov 2020, 17:45
by Black Tiger
It took some time but worth waiting for. Thank you very much!