GithubHelp home page GithubHelp logo

gph83 / mailservermonitor Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 59 KB

Simple mail server monitoring with historic in CSV format

License: Apache License 2.0

C# 100.00%
smtp imap monitoring-tool

mailservermonitor's Introduction

release commit issues downloads License platform

MailServerMonitor

Simple mail server monitoring with historic in CSV format.
The goal of this tool is to ask a SMTP and IMAP server and store result in a CSV file for later analysis.
You can launch it under Windows with schedule task, one time or endless.

After you can use LibreOffice Calc or Excel to analyze the data. (Sort/Filter/Graph ...)

Features

  • Ask SMTP and IMAP server
  • Store result in CSV file
  • Check connection, authentication and response time
  • Multi mailboxes
  • Run every X minutes or single time

Usage

Download release and extract package.
Then run from command line.
First time, fill in a mailbox credential and server.
Next time run it for one time or endless.

For informations :

MailServerMonitor.exe -h

For adding a new mailbox :

MailServerMonitor.exe -a

For listing mailboxes stored setup :

MailServerMonitor.exe -l

For running only one time :

MailServerMonitor.exe -u

For delete mailbox (Use -l for obtain Num) :

MailServerMonitor.exe -d [Num]

For running endless :

MailServerMonitor.exe

Other settings in config.json : You can edit with your favorite editor (vi or VSCode for me)

  • AskMin : Ask every X minutes. Default=0=One time
  • CSVName : Output CSV name. Default="MailServerMonitor.csv"
  • Key : Random key for securing password. Change it loose all stored password.
  • For each mailbox :
    • Name : Name of the mailbox
    • For each SMTP & IMAP :
      • eMail : email to test
      • TimeOutMs : Time out in milliseconde. Default=30000
      • Server : Server name (FQDN or IP address)
      • Login : Mailbox Username
      • EncryptedPassword : Use -a command for setting this
      • Port : Imap port. Default=993
      • UseSSL : For using SSL/TLS. Default=true

Contributing

MailServerMonitor is written in C# with .NET 6
Using MailKit : https://dotnetfoundation.org/projects/mailkit
Made with VS2022 Community.

Licence

MailServerMonitor Copyright(C) 2022 Philippe GRAILLE.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

mailservermonitor's People

Contributors

gph83 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

custom-dev

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.