LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2014, 02:21 AM   #1
jayram1989
LQ Newbie
 
Registered: Aug 2013
Posts: 13

Rep: Reputation: Disabled
How to check the existence of an email address in yahoo whitout sending


I did several methods to check whether an email address in yahoo is valid or not by using via perl module and also by postfix MTA probing method. In all these methods it tried to sending mails to yahoo only after it says the address is valid or not. Please let me know is there any method to find out the existence of email address in yahoo without sending.
 
Old 03-26-2014, 06:12 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by jayram1989 View Post
I did several methods to check whether an email address in yahoo is valid or not by using via perl module and also by postfix MTA probing method. In all these methods it tried to sending mails to yahoo only after it says the address is valid or not. Please let me know is there any method to find out the existence of email address in yahoo without sending.
there isn't. Without trying to send an e-mail, all you can do is check an e-mail address for formal correctness. You can take the domain part and run a DNS query on it to find out if the domain exists. You can then take the local part and check if it is up to the rules of RFC 2822. However, there are e-mail providers that allow local parts to violate the specs - GMX, for instance, allows local parts with a trailing dot (like "d.c.m.@gmx.net"), which is against the spec. So a strict validity check would cause occasional false positives.

But once you established that an e-mail address is formally valid, you still cannot check if it really exists other than by trying to send a message to it.

Even then, you can't be sure. A well-configured mail server would indicate immediately in the SMTP dialog that it doesn't accept the message when the recipient is unknown. But many mass hosters don't do it like that - they accept anything and pretend it's okay, and in case of a delivery failure, the sender gets a reply message informing him of the error condition (bounce mail). Some mail servers are even configured not to inform the sender at all. Admins who do that say it's for privacy reasons (though security by obscurity has never been a good strategy).

[X] Doc CPU
 
  


Reply

Tags
email, postfix


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP random ip address in sending email conflicker Linux - Newbie 5 12-19-2012 01:17 PM
Sending a form to an email address problems! cucolin@ Programming 1 06-23-2004 05:21 AM
Sending Email to an SMTP address from sendmail guilmetrp Linux - Newbie 6 03-01-2004 08:51 PM
Sending email to a smtp address through sendmail guilmetrp Linux - General 0 02-27-2004 08:02 PM
sending an email to a email address after a perl operation meluser Programming 9 04-07-2003 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration