Skip to content

verify email address on Linux

I am using command like sendmail -bv to verify some email address to confirm the address is valid or not before sending actual email to people. it works for most sites I tested. But sometimes, I am using the sendmail for some website that will give me all pass no matter what the address name I put for the same site.

For example:

sendmail -bv

where yyyyyy can be anything that also passes the command and always reported out “ verified”. It seems correct but I think that should be something wrong behind. Why ?

Other command checking mail address on linux will be reliable and available, how and what command does this?



The following command and link have solved the issue.

-nslookup command help to find out mail server address for

nslookup -type=mx;

The answer instruction in the link help to verfiy the email address completely

User contributions licensed under: CC BY-SA
4 People found this is helpful