Git Product home page Git Product logo

fossler / mailserver-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tinned-software/mailserver-test

0.0 2.0 0.0 164 KB

Mailserver-Test is a collection of shell scripts created to test a mailserver's setup. It includes a script to test an SMTP server and a script to test an IMAP server.

Home Page: http://www.tinned-software.net/en/scripts_mailserver-test/

License: GNU General Public License v3.0

Shell 100.00%

mailserver-test's Introduction

Mailserver-Test

Mailserver-Test is a collection of shell scripts created to test a mailserver's setup. It includes a script to test an SMTP server and a script to test an IMAP server.

The Mailserver-Test scripts will connect to the mail-server, send their commands and get the response. The answers can then be compared to what you would expect based on your server configuration. The list of functions that can be checked includes:

  • SMTP
    • Connecting to SMTP via telnet on port 25 or the specified port number
    • Connecting to SMTP via openssl on port 25 or the specified port number for StartTLS
    • Connecting to SMTP via openssl using the specified ssl options
    • Send email with SMTP Authentication, as well as without
    • RAW SMTP communucation is saved to a logfile
  • IMAP
    • Connecting to IMAP via telnet on port 143
    • Connecting to IMAP via openssl on port 993 for SSL
    • Commands will EXAMINE and SELECT the INBOX and read the first available email
    • RAW IMAP comminucation is saved to a logfile

Download & Installation

image Download mailserver-test from Github

To install the the script just download it from Github. There is no configuration file as all configuration is done via commandline.

Description

The Mailserver-Test scripts are designed to connect to the mail-server to verify its configuration. These scripts do not aim to be full-featured email clients.

The smtp-test script can be used to verify that emails cannot be sent without SMTP authentication to avoid an open relay. It can also be used to verify the correct setup of StartTLS on the SMTP server. Incoming emails to the SMTP server can be simulated as well by defining the recipient email to an email address locally handled by the mail server. It can be a handy little script to verify SMTP setup without typing the SMTP commands manually into a telnet session.

The imap-test script can be used to check the configuration of an IMAP server and its authentication settings. To make use of the full functionality of this script it is suggested that there should be an email in the INBOX as the script will fetch the first email from the IMAP server. It can be a handy little script to verify a server's setup without typing the IMAP commands manually into the telnet session.

mailserver-test's People

Contributors

gerhard-tinned avatar

Watchers

 avatar  avatar

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.