473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

filter valid email addresses

anyone know of an algorithm to filter out real email addresses as opposed to
computer generated email addresses? I have been going through past email
archives in order to find friends email address. Unfortunately about 75% of
them are junk addresses or spammer addresses. It's quite obvious when you
look at it and delete it... but you don't want to do it by hand.

Jul 18 '05 #1
2 3303
Hoang wrote:
anyone know of an algorithm to filter out real email addresses as opposed
to
computer generated email addresses? I have been going through past email
archives in order to find friends email address. Unfortunately about 75%
of
them are junk addresses or spammer addresses. It's quite obvious when you
look at it and delete it... but you don't want to do it by hand.


the only means to check if an email-address is valid is to send a mail to it
and ask for a reply.... if the syntax is right you cannot say which address
exists and which doesnt.

I have mad a pop3-filter, which checks emails in your inbox and deletes
using multi-staged regular expressions. the python script and documentation
is available at http://www.lunqual.de/poppers.zip
--
Greetz.... lunqual
http://www.lunqual.de
Jul 18 '05 #2
Hoang:
anyone know of an algorithm to filter out real email addresses as opposed to computer generated email addresses? I have been going through past email
archives in order to find friends email address. Unfortunately about 75% of them are junk addresses or spammer addresses.


Why just look at the email addresses? Since you have the emails
themselves, try this. Get SpamBayes or any of the other systems you
can use to recognize ham/spam. Find the emails where the addresses
are used more than once. These are much more likely to be from
your friends. Use these emails as ham. From the remaining addresses,
identify some of the spam. Train SpamBayes on this and use it
to classify the remaining emails. These can be sorted from most
ham-like to most spam-like, making it easier to identify valid emails
and hence valid email addresses.

Andrew
da***@dalkescientific.com
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: John V | last post by:
What kind of regular expression pattern is needed to check if URL is valid? It's enought if most of cases are covered. I have PHP 4.x. Br
16
by: siliconmike | last post by:
Hi, I'm looking for a reliable script that would connect to a host and somehow determine whether an email address is valid. since getmxrr() only gets the mx records.. Links/pointers ? Mike
1
by: Hoang | last post by:
anyone know of an algorithm to filter out real email addresses as opposed to computer generated email addresses? I have been going through past email archives in order to find friends email...
14
by: nagual | last post by:
Can anyone please help me with a regular expression to test for Valid International Email Addresses? Also, which version of javascript (1.2 ?) is needed for same? Thanks. Regards.
11
by: Phil Amey | last post by:
In a web based form I am able to make sure that there is text in an input field but I want to force the user into inputting a valid email address, one that has @ in the address How can I modify...
1
by: Robert Neville | last post by:
I would like to add filter functionality to my database whether through the Main form or the subform. This question may be rudimentary, yet I have not less experience with filtering data outside...
9
by: Frederick Gotham | last post by:
I think someone posted elsewhere on the group that we must be able to address at least 65 535 bytes in C... ? (Or something along those lines). A 16-Bit unsigned integer type has 65 536 unique...
2
by: ChianHsieh | last post by:
Hi, I face some problem that I want to filter the all words in HTML. Example: Before Filter: <div id="pp"hello man <br/Thank's for your answer. </div> After Filter:
4
by: ninrulz | last post by:
I have been working on a database to perform some of the tasks that I have been doing manually in Excel. One of those tasks is to sort and exclude duplicate data. The fields are as follows ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.