Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révision Les deux révisions suivantes
msmtp [Le 12/01/2020, 12:41]
82.251.241.242 [Configuration]
msmtp [Le 16/04/2020, 22:45]
krodelabestiole [Installation] + bsd-mailx
Ligne 19: Ligne 19:
 Soit en ligne de commande : Soit en ligne de commande :
 <​code>​sudo apt install msmtp msmtp-mta</​code>​ <​code>​sudo apt install msmtp msmtp-mta</​code>​
- + 
 +Pour que la commande ''​mail''​ fonctionne sur [[:​focal|Ubuntu Focal Fossa 20.04]] il est aussi nécessaire d'​[[:​tutoriel:​comment_installer_un_paquet|installer le paquet]] **[[apt>​bsd-mailx]]** : 
 +<​code>​sudo apt install bsd-mailx</​code>​
 ===== Configuration ===== ===== Configuration =====
    
Ligne 39: Ligne 41:
 from           ​username@gmail.com from           ​username@gmail.com
 user           ​username user           ​username
-password ​      plain-text-password+password ​      XXXXXXXXXX 
 + 
 +# Exemple pour un compte GMX 
 +account ​       gmx 
 +host           ​mail.gmx.com 
 +port           587 
 +from           ​username@gmx.com 
 +user           ​username@gmx.com 
 +password ​      XXXXXXXXXX 
 +tls_nocertcheck 
 + 
 +# Exemple pour un compte OVH 
 +account ​       ovh 
 +host           ​XXXXXX.ovh.net 
 +port           465 
 +from           ​username@example.com 
 +user           ​username@example.com 
 +password ​      ​XXXXXXXXXX 
 + 
 +# Exemple pour un compte Infomaniak 
 +account ​       infomaniak 
 +host           ​mail.infomaniak.com 
 +port           587 
 +from           ​username@example.com 
 +user           ​username@example.com 
 +password ​      ​XXXXXXXXXX
  
 # Définir le compte par défaut # Définir le compte par défaut
  • msmtp.txt
  • Dernière modification: Le 18/03/2024, 21:28
  • par krodelabestiole