IMAPLoginTester - a simple Python script that reads a text file with e-mails and passwords, and checks if those credentials are valid by logging to the respective IMAP

May 14, 2021

IMAPLoginTester is a simple Python script that reads a text file with lots of e-mails and passwords, and tries to check if those credentials are valid by trying to login to the respective IMAP servers.


usage: [-h] -i INPUT [-o OUTPUT] [-s] [-t SLEEP_TIME] [-T TIMEOUT] [-P SOCKS5_PROXY] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        input file with e-mails and passwords
  -o OUTPUT, --output OUTPUT
                        save successes to output file
  -s, --show-successes  show successes only (no failures)
  -t SLEEP_TIME, --sleep-time SLEEP_TIME
                        set sleep time between tests (in seconds)
  -T TIMEOUT, --timeout TIMEOUT
                        set login requests timeout (in seconds)
  -P SOCKS5_PROXY, --socks5-proxy SOCKS5_PROXY
                        use a SOCKS5 proxy (eg: "localhost:9050")
  -v, --verbose         show verbose messages


IMAPLoginTester screenshot

Original repository:


Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments
© HAKIN9 MEDIA SP. Z O.O. SP. K. 2023
What certifications or qualifications do you hold?
Max. file size: 150 MB.

What level of experience should the ideal candidate have?
What certifications or qualifications are preferred?

Download Free eBook

Step 1 of 4


We’re committed to your privacy. Hakin9 uses the information you provide to us to contact you about our relevant content, products, and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy.