Skip to content

Small bash script to check whether or not an email exist using telnet and dig

Notifications You must be signed in to change notification settings

lostsh/mail-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

mail-checker

Use telnet and dig to check on the mail server if given email are valid.

Dependecies :

  • dig >=9.10
  • telnet

Usage

[ = ] Help Usage: ./mailcheck.sh [OPTION] ...
[ i ] Check if email is in mail server records (telnet dig)
        -h --help                Display this help page
        AUTO MODE:               Check if given email is in mail server records
        PIPE MODE:               Check for each email from pipe (separator:EOF)
        MANUAL MODE:
        -e --email               Check on the previously set email server (default: gmail)
        -d --domain              Set email server by extracting it from dns record of the domain
        -s --mx-server           Set the given email server to checking server

Info: to avoid anti-spam protection take mesures (proxy...)

Example

image image

About

Small bash script to check whether or not an email exist using telnet and dig

Topics

Resources

Stars

Watchers

Forks

Languages