Author |
Topic |
AnonJr
Moderator
United States
5768 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 12 June 2008 : 05:28:05
|
I wrote another little mod for helping prevent Email spam. The Antispam Registration MOD allows administrators (and moderators if you choose) to add email servers to a list of systems which you have banned because they are used by spammers. More than 100 known spam servers are included in the mod.
New registrants who try to sign up using one of the banned servers will be told that they have to obtain a different Email address and reapply. Administrators will receive a notice of the spam registrant & be provided a link to delete the user.
Get a copy at SnitzBitz.< |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 12 June 2008 : 06:18:07
|
Not to be critical and all as I love to see people contribute, but how is that different than this one?< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 12 June 2008 : 06:35:31
|
Well that particular one requires that you have:
(a) an email address, (b) The server info, and (c_ The user ID.
And that one doesn't provide a list of known spam mail servers. This one is only concerned with the root domain - add spammail.hg and everyone under that domain will be blocked. 2-3 seconds work. Further, this one will block a lot of the known servers as soon as it is installed - you won't have to type up three fields for each and every one of them.< |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 12 June 2008 : 08:31:22
|
There must be something wacky with the download because last I checked all it required was that you enter the domains you wanted blocked... but hey, what ever works. It was built as a web-based interface for the code Marcel posted at the start of this thread. You might be confusing the second link I posted ( http://www.snitzbitz.com/mods/details.asp?Version=All&mid=223 ) for the first one ( http://www.stopforumspam.com/ ).< |
Edited by - AnonJr on 12 June 2008 08:42:05 |
|
|
gpspassion
Junior Member
260 Posts |
Posted - 16 June 2008 : 19:55:46
|
Would it be possible to use the API provided here http://www.stopforumspam.com/ to block spammers "dynamically" ?< |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 16 June 2008 : 22:03:15
|
Its possible, and its been discussed - its just that no one has gotten to programming it yet. I'd love to, but I just haven't had the time. A person has recently been "management adjusted" which has changed the distribution of work...< |
|
|
Lang79james
Starting Member
8 Posts |
Posted - 07 July 2008 : 20:35:17
|
Ok I think this mode is cool and all but maybe I am missing something. I want to
"if(Instr(lcase(Request.Form("Email")), "@gmailinator.com") > 0) or _ (Instr(lcase(Request.Form("Email")), "@dodgeit.com") > 0) or _ (Instr(lcase(Request.Form("Email")), "@spamhole.com") > 0) or _ (Instr(lcase(Request.Form("Email")), "@jetable.org") > 0) or _ (Instr(lcase(Request.Form("Email")), "@bumpymail.com") > 0) or _ (Instr(lcase(Request.Form("Email")), "@mytrashmail.com") > 0) or _ (Instr(lcase(Request.Form("Email")), "@u-yep.com") > 0) then Err_Msg = "<li>Sorry your Email is not valid.</li>" & Err_Msg end if" to be in its own file so when I edit the two files I need to they can rely on one file to add entries to with out modifying both files.
I have tried %><#--include file="banemail.txt/asp"--><% but without success for the most part just gets over looked. I am lil green when it comes to asp.net coding< |
|
|
phy1729
Average Member
USA
589 Posts |
Posted - 07 July 2008 : 20:44:04
|
I think you wand the code in banemail.asp and include banemail.asp< |
|
|
Lang79james
Starting Member
8 Posts |
Posted - 07 July 2008 : 21:04:38
|
Thats what I thought but when I try to add a user in that file, it adds them and I see the code on the next page.
###########################Update######################### I got it this is so you can have one file for both files so you dont have to keep on editing both files when you want to add some new domain to the list
%> <!--#include file="banemail.asp"--> 'The file you the Email list to be <%
make a file that you want to hold the list *.asp <% if (Instr(lcase(Request.Form("Email")), "@gmailinator.com") > 0) or _ (Instr(lcase(Request.Form("Email")), "@dodgeit.com") > 0) or _ (Instr(lcase(Request.Form("Email")), "@spamhole.com") > 0) or _ (Instr(lcase(Request.Form("Email")), "@jetable.org") > 0) or _ (Instr(lcase(Request.Form("Email")), "@bumpymail.com") > 0) or _ (Instr(lcase(Request.Form("Email")), "@mytrashmail.com") > 0) or _ (Instr(lcase(Request.Form("Email")), "@u-yep.com") > 0) then Err_Msg = "<li>Sorry your Email is not a valid.</li>" & Err_Msg end if %>< |
Edited by - Lang79james on 07 July 2008 21:48:31 |
|
|
palmdoc
Starting Member
23 Posts |
Posted - 09 July 2008 : 04:01:29
|
Thank you for this wonderful filter. However I am now plagued by a spammer who can create tons of *.cn domains Is there a way to block just .cn ? Thanks< |
|
|
AnonJr
Moderator
United States
5768 Posts |
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 09 July 2008 : 06:23:33
|
I should add that when you do that you'll be banning everyone with a Chinese e-mail address. Its just as pointless as banning all .ru e-mail addresses. There are a number of other options (including sticking to the original intent of this little script) that don't involve blacklisting an entire country code.< |
|
|
palmdoc
Starting Member
23 Posts |
Posted - 14 July 2008 : 02:42:55
|
Thanks. Will have to ban top level domains .ru and .cn anyway since the baord is quite country specific.< |
|
|
gpspassion
Junior Member
260 Posts |
Posted - 11 September 2008 : 13:06:30
|
A new problem, I'm seeing some spammers register with "champ@*****-forum.com" - not sure where the ***** come from, possibly the "bad word" filtering ? Not sure how to add that type of email in the list though !
Anyway to adapt the code to ban all "***-forum.com" domains ?< |
Edited by - gpspassion on 11 September 2008 13:25:47 |
|
|
Topic |
|