Well, what this dnsstuff.com do is after it looks it up on the dns, it sends something to the smtp (25) port to verfiy the existance of an account, but according to alot of servers that fails, cause the server does not provide you with the Unknown user message.
for a way to be sure that the domain of the email exists, on the shell $ dig mx somedomain.ext which can be parsed through php later, but i don't know, sometimes it just fails, and that is not a good option for me. On 9/5/05, Zaid Amireh <[EMAIL PROTECTED]> wrote: > On 9/5/05, Jad Madi <[EMAIL PROTECTED]> wrote: > > hmm what if the host is down aram? > > I'm not gonna even comment here. > > > > > actually what I know about this is we unfortunately cannot do it > > because some email servers will allow you to connect to it and check > > if email account exists or not, but most of email server wont let you > > do that > > Any respectable email service provider would never allow someone to > check the availability of a certain account, if they do then they > should stick a big fat title on the their forehead, you figure the > text! > > > > > I'll try to give real world scenarios here > > > > http://dnsstuff.com/tools/[EMAIL PROTECTED] > > madeye.us. - 204.157.15.31 [Could not connect: Got an unknown RCPT > > TO response: 550-"The recipient cannot be verified. Please check all > > recipients of this > > 550 message to verify they are valid." > > ] > > ## [EMAIL PROTECTED] exists, but not a pop3 account, it's forwarded account > > so in such cases you'll be blocking a good number of people whose > > using mail forwarding accounts > > > > > > http://dnsstuff.com/tools/[EMAIL PROTECTED] > > easyhttp.com. - 204.157.15.31 [Successful connect: Got a good > > response [250 Accepted]] > > > > This one exists > > please tell me which service provider is doing this because I need to > tell all the people I know not to use that provider because they > certainly have no idea what they are doing! > I'm dead serious, I'm not being sarcastic. > > > > > > > now lets check with yahoo! > > http://dnsstuff.com/tools/[EMAIL PROTECTED] > > ### [EMAIL PROTECTED] DOES NT exists, but the server still > > responding with Recipient ok > > this is the way to do it! > > > > > Trying to connect to all mailservers: > > > > mx3.mail.yahoo.com. - 64.156.215.18 [Successful connect: Got a > > good response [250 recipient ok]] > > mx3.mail.yahoo.com. - 64.156.215.5 [Successful connect: Got a good > > response [250 recipient ok]] > > mx3.mail.yahoo.com. - 64.156.215.6 [Successful connect: Got a good > > response [250 recipient ok]] > > mx3.mail.yahoo.com. - 4.79.181.12 [Successful connect: Got a good > > response [250 recipient ok]] > > mx2.mail.yahoo.com. - 64.156.215.8 [Successful connect: Got a good > > response [250 recipient ok]] > > mx2.mail.yahoo.com. - 67.28.114.35 [Successful connect: Got a good > > response [250 recipient ok]] > > mx2.mail.yahoo.com. - 67.28.114.36 [Successful connect: Got a good > > response [250 recipient ok]] > > mx2.mail.yahoo.com. - 4.79.181.13 [Successful connect: Got a good > > response [250 recipient ok]] > > mx1.mail.yahoo.com. - 67.28.113.10 [Successful connect: Got a good > > response [250 recipient ok]] > > mx1.mail.yahoo.com. - 67.28.113.11 [Successful connect: Got a good > > response [250 recipient ok]] > > mx1.mail.yahoo.com. - 4.79.181.14 [Successful connect: Got a good > > response [250 recipient ok]] > > mx1.mail.yahoo.com. - 4.79.181.15 [Successful connect: Got a good > > response [250 recipient ok]] > > mx4.mail.yahoo.com. - 68.142.202.11 [Successful connect: Got a > > good response [250 recipient ok]] > > mx4.mail.yahoo.com. - 68.142.202.12 [Successful connect: Got a > > good response [250 recipient ok]] > > mx4.mail.yahoo.com. - 66.218.86.156 [Successful connect: Got a > > good response [250 recipient ok]] > > mx4.mail.yahoo.com. - 67.28.113.19 [Successful connect: Got a good > > response [250 recipient ok]] > > I'm speechless! > *the crowd applauses* > > > What I'm thinking of is the best way to validate an account is to > > 1-) have a black list of known spam domains > > impractical. > > > 2-) verify accounts by email activation link and/or code > > this would be useful but not to his particular need if I understand correctly. > > > now if you want to check the Domain exists or not maybe doing a > > ping/pong like with whois server > > what advantage would you gain from pinging the whois server? > what advantage would you gain from pinging the server that represents > the MX record? > what do you want to ping exactly? > If you use ping to verify that a domain exists then you will fail to > recognize 70% of the domains because they drop icmp traffic. > just check if the domain has an MX record, thats all. > > -- > --------------------------- > Netiquette -> http://www.dtcc.edu/cs/rfc1855.html > http://tumbak.at.preempted.net > Netiquette Nazi -> > http://redwing.hutman.net/%7Emreed/warriorshtm/netiquettenazi.htm > --------------------------- > > _______________________________________________ > General mailing list > [email protected] > http://mail.jolug.org/mailman/listinfo/general_jolug.org > -- Ala'a A. Ibrahim http://360.yahoo.com/bai_83 _______________________________________________ General mailing list [email protected] http://mail.jolug.org/mailman/listinfo/general_jolug.org
