Email - How to test if your server email configuration was done correctly ?

1 - About

This article will show different server configuration testing in order to validate your email server configuration.

In our case, we had installed Postfix

3 - Technics

3.1 - Sending an email to Provider

Testing an email configuration is done by sending an email to a provider that will:

  • show you if you pass the tests
  • eventually score your email.

3.1.1 - Mail Tester

The most easy way is to send an email at mail-tester

3.1.2 - Gmail

Send an email and check the original email, Gmail will show you if you have passed the test:

3.2 - Testing locally with netcat

Network - netcat (nc, ncat)


nc mail.example.com 25


EHLO $hostname


250-server01.bytle.net
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN


MAIL FROM:<[email protected]>
RCPT TO:<[email protected]>
DATA
Subject: Test email

Body of the email
.
QUIT


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap