Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| netadmin:smtp:tester-smtp [2019/09/13 07:41] – yoann | netadmin:smtp:tester-smtp [2024/07/09 14:16] (Version actuelle) – yoann | ||
|---|---|---|---|
| Ligne 41: | Ligne 41: | ||
| <code bash> | <code bash> | ||
| - | echo username | base64 | + | echo -n username | base64 |
| - | echo password | base64 | + | echo -n password | base64 |
| </ | </ | ||
| Ligne 52: | Ligne 52: | ||
| </ | </ | ||
| - | Noter les chaînes | + | Via OpenSSL: |
| + | |||
| + | <code bash> | ||
| + | openssl enc -base64 -in monfichier.txt -out monfichier.b64 | ||
| + | </ | ||
| + | |||
| + | Peu importe la méthode choisie, noter les chaînes | ||
| < | < | ||
| + | telnet smtp.orange.fr 25 | ||
| + | Trying 193.252.22.86... | ||
| + | Connected to smtp.orange.fr. | ||
| + | Escape character is ' | ||
| + | 220 mwinf5d63 ME ESMTP server ready | ||
| + | helo localhost.localdomain | ||
| + | 250 mwinf5d63 hello [217.133.24.8], | ||
| + | AUTH LOGIN: | ||
| + | 334 VXNlcm5hbWU6 | ||
| + | BASE64userTraduction== | ||
| + | 334 UGFzc3dvcmQ6 | ||
| + | BASE64mdpTraduction== | ||
| + | 235 2.7.0 ... authentication succeeded | ||
| + | mail from: expediteur@example.com | ||
| + | 250 2.1.0 < | ||
| + | rcpt to: destiantaire@example.com | ||
| + | 250 2.1.5 < | ||
| + | data | ||
| + | 354 enter mail, end with " | ||
| + | essai authentification telnet | ||
| + | . | ||
| + | 250 2.0.0 30wz2100D3RlENH030y9ci mail accepted for delivery | ||
| </ | </ | ||
| + | |||
| + | ===== Envoi via SSL/TLS ===== | ||
| + | |||
| + | :TODO: | ||
| + | |||
| + | Tester procédure lien en référence | ||
| + | |||
| + | ===== Références ===== | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | * [[https:// | ||