====== Email-Server ====== howto setup, test, spamcheck, ... === Testing connections to mailserver: === **port 25:** telnet example.com 25 Trying 88.88.42.23... Connected to example.com. Escape character is '^]'. 220 example.com ESMTP ehlo testing ... you should receive some STARTTLS auth lines. ---- **check cert:** openssl s_client -starttls smtp -crlf -connect synoptx.net:25 ---- **links:** http://www.mad-hacking.net/documentation/linux/applications/mail/using-ssl-tls-postfix-courier.xml http://qmail.jms1.net/test-auth.shtml http://www.cyberciti.biz/tips/ssl-certificate-installation-courier-imap-server.html http://www.astaro.org/astaro-gateway-products/mail-security-smtp-pop3-antispam-antivirus/30867-7-504-testing-port-465-smtp-ssl-solved.html === Test sending mail: === mail -s "Hello world" info@example.com then enter body + 2x Ctrl+D echo "This will go into the body of the mail." | mail -s "Hello world" info@example.com