Dependencies
pip3 install requests dnspython colored
Installation & usage
git clone https://github.com/cioccarellia/pysmtp
cd pysmtp
python3 pysmtp.py --lookup-domain mail.polimi.it --greeting-domain polimi.it --no-ip-scan --uses-helo --no-dig
Help
usage: pysmtp.py [-h] --lookup-domain LOOKUP_DOMAIN --greeting-domain
GREETING_DOMAIN [--override-hostname OVERRIDDEN_HOSTNAME]
[--linefeed LINEFEED] [--smtp-port PORT] [--no-ip-scan]
[--no-dig] [--no-geo] [--uses-helo | --uses-elho]
Python SMTP utility
optional arguments:
-h, --help show this help message and exit
--lookup-domain LOOKUP_DOMAIN
smtp lookup server
--greeting-domain GREETING_DOMAIN
helo/elho domain
--override-hostname OVERRIDDEN_HOSTNAME
overrides SMTP domain
--linefeed LINEFEED SMTP encoding linefeed
--smtp-port PORT SMTP port
--no-ip-scan omits ip checks
--no-dig omits digging all target domain records
--no-geo omits digging all target domain records
--uses-helo
--uses-elho