Bonjour,

j'aimerais pouvoir envoyer un mail avec la commande "mail" du package mailutils à partir d'un vps sous debian .
Comment faut t'il configurer mon smtp ?

Pour l'instant je n'ai que ca dans le fichier de conf smtp :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#                                                                                                                                                                                                                    
# Config file for sSMTP sendmail                                                                                                                                                                                     
#                                                                                                                                                                                                                    
# The person who gets all mail for userids < 1000                                                                                                                                                                    
# Make this empty to disable rewriting.                                                                                                                                                                              
root=postmaster
 
# The place where the mail goes. The actual machine name is required no                                                                                                                                              
# MX records are consulted. Commonly mailhosts are named mail.domain.com                                                                                                                                             
mailhub=mail
 
# Where will the mail seem to come from?                                                                                                                                                                             
#rewriteDomain=                                                                                                                                                                                                      
 
# The full hostname                                                                                                                                                                                                  
hostname=vps517523.ovh.net
 
# Are users allowed to set their own From: address?                                                                                                                                                                  
# YES - Allow the user to specify their own From: address                                                                                                                                                            
# NO - Use the system generated From: address                                                                                                                                                                        
#FromLineOverride=YES
j'ai essayé plusieurs choses mais sans succès ...
Auriez vous des idées ? Je suis vraiment mauvais en adminsys

Merci, et bonne journée