Large Email List: I have a large email list which is very outdated, I need help with cleaning the lsit by doing an MX lookup and check if the mailbox exists.

Hi,

I have a large email list which I'm looking to clean up to ensure that 100% of emails follow a proper format, check MX record to ensure the domain exists and also check if the mailbox exists.

I've spent countless hours looking everywhere for a way to achieve this and haven't been able to find a solutions. I would really appreciate help in this. Thank you in advance.

Best,

Tom
faithless1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

illhelpuCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
faithless1Author Commented:
Thanks this solves the MX lookup issue. Is there any way to actually check if a mailbox exists? I want to make sure there are no bounced emails coming back
0
ITaaSCommented:
There is no way to verify a mailbox exists without attempting to send a message unless you have access to the email server.  I am assuming this list is emails gathered from outside parties, so there is really no way for you to verify prior to sending.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Frederick McIntyreProgrammerCommented:
Can you use a Perl script, and do you the ability to install Perl modules on the server? If so, I can give you a script.
0
illhelpuCommented:
I don't believe there is a way to verify if a mailbox exist if you do not have access to the server.
0
jar3817Commented:
There exists a verb in SMTP called VRFY that allows you to do just that, verify an address is valid. The problem is what you want to do is exactly what spammers do. As a result the VRFY verb has been disabled by default (and should be) on almost every modern email system.

The only way to weed out the bad addresses is to send your email to the whole list and then watch your logs for the non-delivery reports. Then remove those addresses from your list.

Consistently emailing bad recipients is a red flag and might get you blacklisted.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Servers

From novice to tech pro — start learning today.