Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) [DONE] Improved Email Checking V1.0 (Read 15465 times)
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
[DONE] Improved Email Checking V1.0
Feb 11th, 2007 at 2:37pm
Print Post  
[b][size=18]Improved Email Check On Registration[/size] [/b]

[color=Red]This mod needs Net::DNS to be installed on the server [/color]

Languages available:
Dutch
English
German

What does it do ?

- it checks valid syntax on given email address
- it checks if the domain exists given in the address
- it checks if the user is known on the given SMTP server
- it checks if the smtp server(s) are online and valid
- it checks if the users mailbox is full

Also it adds a second email field on registration for verification of typing errors.

Known restrictions:
- Not all mailservers reply the same if a user does not exist and you may be amazed how many stupid domains exists, like hotlmail.com and such, so not every typo will be caught on domain check.

Installation:

- Upload Mail/CheckUser.pm in Modules and CHMOD the same as other modules there
- Apply the mod
- Upload the changed Subs.pl, Register.pl, Register.lng

History:
V1.0 First release
« Last Edit: Mar 31st, 2007 at 2:53pm by Spikecity »  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #1 - Feb 11th, 2007 at 9:23pm
Print Post  
Hi Ron
thnx for this mod.  Cheesy

there german steps for modfile in your next Version.

Code
Select All
<edit file>
Languages/German/Register.lng
</edit file>

<search for>
'69' => "E-Mail",
</search for>

<add after>
'70' => "E-Mail (für Überprüfung)",
'71' => "Die E-Mail Adresse stimmt nicht überein!",
</add after>

<search for>
1;
</search for>

<add before>
%mail_check = (
'address' => "Die eingetragene E-Mail Adresse:",
'invalid' => "ist ungültig.",
'reason' => "Der Fehler ist:",
'0' => "Überprüfung verlief erfolgreich.",
'1' => "Fehlerhafte Struktur in der E-Mail Adresse.",
'2' => "Die in der E-Mail Adresse eingetragene E-Mail Domain ist unbekannt.",
'3' => "Die Zeit ist während der DNS Überprüfung abgelaufen.",
'4' => "Benutzer ist auf dem SMTP Server unbekannt.",
'5' => "Die Zeit ist während der SMTP Überprüfung abgelaufen.",
'6' => "Es wurde während der SMTP Überprüfung festgestellt, dass alle SMTP Server für die gefundene E-Mail nicht erreichbar sind.",
'7' => "Der Postkasten könnte vorübergehend voll sein, aber der Benutzername ist offenbar gültig.",
);

</add before> 

  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #2 - Feb 12th, 2007 at 8:47am
Print Post  
Great idea and nice work Ron! Shocked Smiley
  


Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #3 - Feb 12th, 2007 at 11:22am
Print Post  
Quote:
Hi Ron
thnx for this mod.  Cheesy

there german steps for modfile in your next Version.

Added to the current zip Wink
Thanks JetLi.
« Last Edit: Feb 20th, 2007 at 12:49pm by Spikecity »  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Larian
Senior Member
****
Offline



Posts: 316
Location: Leipzig
Joined: Oct 22nd, 2002
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #4 - Feb 14th, 2007 at 3:24pm
Print Post  
Nice Idea!

Works perfect!

Larian
  
Back to top
 
IP Logged
 
ExhaultedRuler
Full Member
***
Offline


Up, Up, and Away!!

Posts: 152
Location: Honolulu
Joined: Nov 29th, 2005
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #5 - Feb 19th, 2007 at 5:20am
Print Post  
Is this the distilled email mod?
  

Irwin's Superman Adventures Message Boards - Everything you ever wanted to know about the Hawaiian Superman!
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #6 - Feb 19th, 2007 at 7:33pm
Print Post  
ExhaultedRuler wrote on Feb 19th, 2007 at 5:20am:
Is this the distilled email mod?

No it is not Wink
This mod actually checks if a given email address exists at a server level, so it reduces bouncing faulty mails on mailserver level but if a spammer uses a real address it will validate.

The combination of both will minimize bouncing emails on the mailserver filling up the failure queue
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
ExhaultedRuler
Full Member
***
Offline


Up, Up, and Away!!

Posts: 152
Location: Honolulu
Joined: Nov 29th, 2005
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #7 - Feb 19th, 2007 at 9:34pm
Print Post  
Spikecity wrote on Feb 19th, 2007 at 7:33pm:
No it is not Wink
This mod actually checks if a given email address exists at a server level, so it reduces bouncing faulty mails on mailserver level but if a spammer uses a real address it will validate.

The combination of both will minimize bouncing emails on the mailserver filling up the failure queue


Thanks for the quick reply...after more reading and searching on Boardmod...I found the Distill email, and put it in place.  I'll let this ride for another week and see if csshette or gawab dongs me. If not, then I'll add your mod on.

ER
  

Irwin's Superman Adventures Message Boards - Everything you ever wanted to know about the Hawaiian Superman!
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #8 - Feb 20th, 2007 at 12:48pm
Print Post  
ExhaultedRuler wrote on Feb 19th, 2007 at 9:34pm:
Thanks for the quick reply...after more reading and searching on Boardmod...I found the Distill email, and put it in place.  I'll let this ride for another week and see if csshette or gawab dongs me. If not, then I'll add your mod on.

ER

Basically Distilled Email Domains will give you a tool to prevent users from using dirty domains like cashette and a lot of .ru for registering and posting, but it won't prevent users from making a typo in an allowed email address (which bounces and fills up a mailserver spooler).
This mod only checks if the given email address actually exists on the given mailserver by doing a partial fake mailrun to it and see if the mailserver does not give any 5xx SMTP errors back (which indicates there is something wrong with this address).
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
ExhaultedRuler
Full Member
***
Offline


Up, Up, and Away!!

Posts: 152
Location: Honolulu
Joined: Nov 29th, 2005
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #9 - Feb 20th, 2007 at 5:39pm
Print Post  
Spikecity wrote on Feb 20th, 2007 at 12:48pm:
Basically Distilled Email Domains will give you a tool to prevent users from using dirty domains like cashette and a lot of .ru for registering and posting, but it won't prevent users from making a typo in an allowed email address (which bounces and fills up a mailserver spooler).
This mod only checks if the given email address actually exists on the given mailserver by doing a partial fake mailrun to it and see if the mailserver does not give any 5xx SMTP errors back (which indicates there is something wrong with this address).


OK...will keep that in mind. Thank you
  

Irwin's Superman Adventures Message Boards - Everything you ever wanted to know about the Hawaiian Superman!
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #10 - Mar 12th, 2007 at 6:11am
Print Post  
Up !!
Problems, please report or we will promote this one to done !
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #11 - Mar 12th, 2007 at 6:32am
Print Post  
Hi
hm, I register new testuser after register no get this text from this mod?

Check is successful

only get this.

Quote:
Vorregistrierung abgeschlossen

Ihr Account wurde noch nicht aktiviert!
Bitte aktivieren Sie ihn innerhalb von 24 Stunden, indem Sie auf den Link klicken, der Ihnen per E-Mail zugeschickt wurde!


or I enter a email adress of my email domain, that not exist, get no error, but email adress is no exist on my domain. Then will get Text above with pre-register.
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Improved Email Check On Registration V1.0
Reply #12 - Mar 12th, 2007 at 2:58pm
Print Post  
Strange error as this is actually an errorline from pre-registration you show me.

I'll check on the code as soon as I get back from Malaysia on wednesday.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
LWS
Senior Member
****
Offline


seek and ye shall find...i
must be BLIND!!

Posts: 285
Location: Southern Ohio
Joined: Feb 25th, 2007
Re: [DONE] Improved Email Checking V1.0
Reply #13 - Apr 15th, 2007 at 1:02am
Print Post  
so this mod will keep people from registering with ..say no@there.com  and the likes?
This is nice! i cant believe i didnt find this b4 now  thanks for the mod:)
  

LoneWebSurfer.com Nothing but YaBB templates
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: [DONE] Improved Email Checking V1.0
Reply #14 - Apr 15th, 2007 at 9:32pm
Print Post  
LWS wrote on Apr 15th, 2007 at 1:02am:
so this mod will keep people from registering with ..say no@there.com  and the likes?
This is nice! i cant believe i didnt find this b4 now  thanks for the mod:)

If someone registers with no@there.com the following will happen:

1. the domain "there.com" is checked for validity
2. if the domain exists the mx records are pulled to see if the server(s) are alive.
3. if 1 and 2 pass the user "no" is surrogate e-mailed (without actually sending data) to check if this user exists
4. if 3 passes and the box is not reported invalid or full the address is valid and accepted.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint