howto setup, test, spamcheck, …

Testing connections to mailserver:

port 25:

 telnet 25
 Connected to
 Escape character is '^]'.
 220 ESMTP
 ehlo testing

you should receive some STARTTLS auth lines.

check cert:

 openssl s_client -starttls smtp -crlf -connect


Test sending mail:

mail -s "Hello world"

then enter body + 2x Ctrl+D

echo "This will go into the body of the mail." | mail -s "Hello world"
Back to top
linux/emailserver.txt · Last modified: 2015/01/19 13:50 by tkilla