Code Monkey home page Code Monkey logo

assert-smtp's Introduction

Assert SMTP

SMTP is boring, but omnipotent, but it's a the main way to restore passwords.

Check your SMTP relay

For now, there is no dependencies, just a modern python runtime.

The script use ENV variables :

  • SMTP_HOST
  • SMTP_USER
  • SMTP_PASSWORD

Some modern assertions :

  • TLS all the time, direct TLS connection or pimp your connection with STARTTLS
  • Authentication must be kept simple, juste AUTH PLAIN
  • The RFC doesn't specify it, but utf8 is the de facto standard for text encoding

The script tests the 3 SMTP ports :

  • 25 should not be used for mail transfer, but for server to server communication
  • 465 is no more registered for SMTP at IANA, but it was
  • 587 is the current official port for sending mails

The script try to open an smtps connection (no, this protocol name is not yet normalized) and fallback to smtp+starttls.

Authentication with AUTH PLAIN and UTF8 encoding.

No mail is sent.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.