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
(Die Seite wurde neu angelegt: „generate User and Password Hashes <syntaxhighlight lang="bash"> perl -MMIME::Base64 -e 'print encode_base64("username or password");' </syntaxhighlight> <synt…“)
 
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
generate User and Password Hashes
generate User and Password Hashes
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
perl -MMIME::Base64 -e 'print encode_base64("username or password");'
echo -n 'username or password' | openssl base64
</syntaxhighlight>
</syntaxhighlight>


Zeile 11: Zeile 11:
AUTH LOGIN
AUTH LOGIN


username hash
<username hash>


password hash
<password hash>


MAIL FROM:<info@example.com>
MAIL FROM:<info@example.com>

Version vom 24. Mai 2024, 12:21 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