Testing MTA: Difference between revisions

From Coolscript
Jump to navigation Jump to search
(Created page with "=Imap Test= *Encrypted login openssl s_client -crlf -connect mail.server.com:993 a1 LOGIN usernmae passowrd =SMTP Test= *Get logon credentilas echo -ne '\0'''USERNMAE'''\0...")
 
Line 17: Line 17:
  root@vm-auto:~# openssl s_client -connect mail.mailtower.de:'''583''' -starttls smtp
  root@vm-auto:~# openssl s_client -connect mail.mailtower.de:'''583''' -starttls smtp


  AUTH PLAIN AHNdtHBzeXMAY2F1c2FsLXJlYWxseTdWaXJ0ieU=
  AUTH PLAIN XYZ==
  235 2.0.0 OK Authenticated
  235 2.0.0 OK Authenticated

Revision as of 18:06, 16 August 2021

Imap Test

  • Encrypted login

openssl s_client -crlf -connect mail.server.com:993 a1 LOGIN usernmae passowrd


SMTP Test

  • Get logon credentilas
echo -ne '\0USERNMAE\0PASSWORD' | base64
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
root@vm-auto:~# openssl s_client -connect mail.mailtower.de:25 -starttls smtp
#-OR-
root@vm-auto:~# openssl s_client -connect mail.mailtower.de:583 -starttls smtp
AUTH PLAIN XYZ==
235 2.0.0 OK Authenticated