MyBB Community Forums

Full Version: [updated]Use wild card for dissallowed email ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
.
Dissallow Email clarification...

1. If email address '4.com' is 'dissallowed', should 'abc24.com' be dissallowed, or need to use '*4.com' ?

2. If email address domain '.er' is dissallowed, should 'abc24.er' be blocked, or need to use '*.er' ?

3. If 'abc' is dissallowed, should 'abc24.er' be blocked, or need to use 'abc*' ?

http://docs.mybb.com/Admin_CP_Config_Ban..._Addresses doesnt seem to go into that much detail... is there another source of more detailed info ?
.
If you are blocking something like @gmx.com then you can just add gmx.com to the disallowed list.

The above will ban all the e-mails that gave @gmx.com

Answer to your question was already discussed in one of your previous threads.
Link: http://community.mybb.com/thread-145204.html
Thank you for the reply.
Yes there was a previous discussion (re. #2.), but it didnt answer all the specific questions in this thread, and was really more about how to work with blocking and the database.
Thought if might be nice to see answers to all (1., 2., & 3.) in one thread for use at ACP ?
From what I know, you don't need to use a wildcard unless you are banning something like A*[email protected]

If you banning something like an e-mail provider then just ban the domain. For example: hotmail.com, gmail.com

If you want to ban a specific name in an e-mail then you could ban like the following:

Lets say you want to ban the word "administrator"

administrator
administrator*
*administrator*

As long as it has the word which you want to ban with or without the wildcard should be good. If you look at the very first sentence of this post, that's an example where you should or could use a wildcard.
Thanks again for the followup.
So, if want to block certain characters of a domain name...
1. to block 'abc2.com' (and any other .com domain with 'bc' in the name), need to block *bc*.com ?
2. to block 'bc2.com', need to use 'bc*.com' ?
3. to block 'abc.com', need to use '*bc.com' ?
... ie. 'bc' or *bc* wont block all (ie would need disallow with 3 formats) ?
Ps: Corrected question #2. & #3. to reflect the above questions.
1. Yes, that's correct.
2. Yes.
3. Yes.

You could also use bc* only to disallow any domain. Such as bc2.org; Everything after bc will be disallowed.