Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: pulgoki on January 14, 2022, 01:25:13 PM

Title: Creating ban triggers - Addings lists?
Post by: pulgoki on January 14, 2022, 01:25:13 PM
Is there a way to add a list of email addresses or ip addresses to a ban trigger rather than having to add a single ban at a time?
Title: Re: Creating ban triggers - Addings lists?
Post by: Arantor on January 14, 2022, 01:30:46 PM
Not really, no - but just to clarify: you add multiple ban triggers to a single ban.

E.g. banning a spammer might be a ban on IP and on email, which is two triggers on one ban - and you can add many triggers to a single ban but there's no bulk route for doing it outside of directly in the database.

What's the use case?
Title: Re: Creating ban triggers - Addings lists?
Post by: pulgoki on January 14, 2022, 01:37:19 PM
Quote from: Arantor on January 14, 2022, 01:30:46 PMWhat's the use case?

I'm attempting to add a list of known spam email server. This includes throw away email addresses etc.  There are about 50 that need added. I have a comma separated list. It will just be tedious to add them one by one. 


Title: Re: Creating ban triggers - Addings lists?
Post by: Kindred on January 14, 2022, 01:39:25 PM
why bother?

Just put in place good spam protection up front to prevent the bots from ever registering

Using the ban system as spam prevention is a losing proposition.
Title: Re: Creating ban triggers - Addings lists?
Post by: pulgoki on January 14, 2022, 02:11:50 PM
Quote from: Kindred on January 14, 2022, 01:39:25 PMJust put in place good spam protection up front to prevent the bots from ever registering

What about human spammers?  They get passed the spam protection and I end up with a bunch of spam accounts.

I do understand what you're saying.

Title: Re: Creating ban triggers - Addings lists?
Post by: shadav on January 14, 2022, 02:46:31 PM
you can also set for under x amount of posts member must pass verification
helpful for those that use people to register and then release bots because then the bots still can't post
Title: Re: Creating ban triggers - Addings lists?
Post by: Kindred on January 14, 2022, 05:46:19 PM
Or users with under x posts need approval before their posts are public....

Or the mod which we use here that prevents anyone with under x posts from posting links.

Lots of ways to prevent spam that don't depend on the ban system. Bans are good for users, But are pretty much useless against spammers