Testing MTA: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
'''XYZ== ''' | '''XYZ== ''' | ||
*Login Port 25/583 | *Login Port 25/583 | ||
root@vm-auto:~# openssl s_client -connect mail. | root@vm-auto:~# openssl s_client -connect mail.server.com:'''25''' -starttls smtp | ||
#-OR- | #-OR- | ||
root@vm-auto:~# openssl s_client -connect mail. | 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 |
Revision as of 18:10, 16 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