Toastie 3 years ago
parent
commit
329c7ff905
1 changed files with 20 additions and 0 deletions
  1. 20 0
      linux/Mail-Submission-AuthLogin.md

+ 20 - 0
linux/Mail-Submission-AuthLogin.md

@@ -0,0 +1,20 @@
+´´´
+# echo -ne "user@example.com" | base64
+# dXNlckBleGFtcGxlLmNvbQ==
+# echo -ne "PutYourSecretPasswordHere" | base64
+# UHV0WW91clNlY3JldFBhc3N3b3JkSGVyZQ==
+
+openssl s_client -starttls smtp -crlf -connect smtp.example.com:587
+
+EHLO test
+AUTH LOGIN dXNlckBleGFtcGxlLmNvbQ==
+UHV0WW91clNlY3JldFBhc3N3b3JkSGVyZQ==
+mail from: <user@example.com>
+rcpt to: <mary.doe@example.net>
+data
+From: John Doe <user@example.com>
+To: Mary Doe <mary.doe@example.net>
+Subject: Test ESMTP Auth LOGIN
+Testing proves the existence of bugs not their absence
+.
+´´´