Monday 12 May 2014

CONFIGURATION DE SENDMAIL EN RELAIS SMTP sur CENTOS 5.x



Installez « sendmail » si ce n’est déjà fait.
Yum install sendmail

Sinon nous avons 2 fichiers à éditer :
Sendmail.mc et sendmail.cf
Editons « sendmail.mc » et ajouter les lignes suivantes :



Comme on peut le voir nous avons utilisé le port 26 pour envoyer nos mails cela est possible grâce à la deuxième ligne « define ». Si le serveur smtp de destination utilise le port 25 cette ligne peut être effacée.
En suite nos modifierons le fichier « sendmail.cf » :
Trouvez la ligne commençons par « DS » et ajoutons le serveur de mail qui nous serveur smtp :

La dernière étape est de redémarrer sendmail :


 
Maintenant un test !
 mail -s "Objet du mail"   monadresse@email.com


1 comment:

  1. This is a nice article here with some useful tips for those who are not used-to comment that frequently. Thanks for this helpful information I agree with all points you have given to us.keep sharing!!!

    Android Training in Chennai

    Android Online Training in Chennai

    Android Training in Bangalore

    Android Training in Hyderabad

    Android Training in Coimbatore

    Android Training

    Android Online Training

    ReplyDelete

HOWTO IMPORT OVA (from VMware) to PROXMOX 5.x

  HOWTO IMPORT OVA (from VMware) to PROXMOX 5.x         Hi All may be someone has faced to import an OVA (created with VMware) to PROX...