Menü umschalten
Persönliches Menü umschalten
Nicht angemeldet
Your IP address will be publicly visible if you make any edits.

SMTP via openssl an Exchange Server: Unterschied zwischen den Versionen

Aus Hennings Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
Zeile 31: Zeile 31:


caveats:
caveats:
- Password hash should not start with a "R":  
* Password hash should not start with a "R":  
https://www.openssl.org/docs/man3.0/man1/openssl-s_client.html
https://www.openssl.org/docs/man3.0/man1/openssl-s_client.html
R: Renegotiate the SSL session (TLSv1.2 and below only).
R: Renegotiate the SSL session (TLSv1.2 and below only).

Aktuelle Version vom 24. Mai 2024, 12:44 Uhr

generate User and Password Hashes

echo -n 'username or password' | openssl base64
openssl s_client -connect mail.example.com:465 -starttls smtp -crlf -ignore_unexpected_eof

EHLO mail.example.com

AUTH LOGIN

<username hash>

<password hash>

MAIL FROM:<info@example.com>

rcpt to:<rcpt@example.com>

DATA
Subject: An intresting subject

Some random Email content

.
QUIT


caveats:

  • Password hash should not start with a "R":

https://www.openssl.org/docs/man3.0/man1/openssl-s_client.html R: Renegotiate the SSL session (TLSv1.2 and below only).