Testing MTA: Difference between revisions

From Coolscript
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
*Get logon credentilas
*Get logon credentilas
  echo -ne '\0'''USERNMAE'''\0'''PASSWORD'''' | base64
  echo -ne '\0'''USERNMAE'''\0'''PASSWORD'''' | base64
  XYZ==  
  '''XYZ== '''
root@vm-auto:~# openssl s_client -connect relayhost.example.com:25 -starttls smtp
#-OR-
root@vm-auto:~# openssl s_client -connect relayhost.example.com:587 -starttls smtp
*Login Port 25/583
*Login Port 25/583
  root@vm-auto:~# openssl s_client -connect mail.mailtower.de:'''25''' -starttls smtp
  root@vm-auto:~# openssl s_client -connect mail.server.com:'''25''' -starttls smtp
  #-OR-
  #-OR-
  root@vm-auto:~# openssl s_client -connect mail.mailtower.de:'''583''' -starttls smtp
  root@vm-auto:~# openssl s_client -connect mail.server.com:'''583''' -starttls smtp
*Authenticate
*Authenticate
  AUTH PLAIN XYZ==
  AUTH PLAIN '''XYZ=='''
  235 2.0.0 OK Authenticated
  235 2.0.0 OK Authenticated
=test=
*https://www.checktls.com/
*https://ssl-config.mozilla.org
*https://www.ssllabs.com/ssltest
*http://dkimvalidator.com/
*https://esmtp.email/tools/mta-sts/?#
*https://starttls-everywhere.org
*https://luxsci.com/smtp-tls-checker
*http://multirbl.valli.org/
*https://www.hardenize.com/
Keywords: sasl tls ssl sendmail postfix mta smtp

Latest revision as of 14:59, 19 August 2021

Imap Test

  • Encrypted login
openssl s_client -crlf -connect mail.server.com:993
a1 LOGIN username password

SMTP Test

  • Get logon credentilas
echo -ne '\0USERNMAE\0PASSWORD' | base64
XYZ== 
  • Login Port 25/583
root@vm-auto:~# openssl s_client -connect mail.server.com:25 -starttls smtp
#-OR-
root@vm-auto:~# openssl s_client -connect mail.server.com:583 -starttls smtp
  • Authenticate
AUTH PLAIN XYZ==
235 2.0.0 OK Authenticated


test


Keywords: sasl tls ssl sendmail postfix mta smtp