LF_TEMPBLOCK_ALERT option

Post Reply
Black Tiger
Junior Member
Posts: 64
Joined: 17 Feb 2009, 14:14
Contact:

LF_TEMPBLOCK_ALERT option

Post 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. :)
scrupul0us
Junior Member
Posts: 5
Joined: 25 Nov 2016, 18:45

Re: LF_TEMPBLOCK_ALERT option

Post by scrupul0us »

Got my vote, this would be very useful to keep the "noise" down.
btekcan
Junior Member
Posts: 12
Joined: 22 Mar 2016, 16:30

Re: LF_TEMPBLOCK_ALERT option

Post by btekcan »

Yes I need this function also 👍 We get tousend nail every day 🙁
bayden10
Junior Member
Posts: 3
Joined: 10 Mar 2019, 23:15

Re: LF_TEMPBLOCK_ALERT option

Post by bayden10 »

I agree, this would be a nice addition.
scrupul0us
Junior Member
Posts: 5
Joined: 25 Nov 2016, 18:45

Re: LF_TEMPBLOCK_ALERT option

Post 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})))
Post Reply