Skip to main content
Question

postfix

  • October 25, 2022
  • 9 replies
  • 208 views

Forum|alt.badge.img+1

Bonjour à tous ! s’il vous plaît comment on configure le postfix pour l’envoi des mails?

9 replies

Forum|alt.badge.img+9
  • Centreonian
  • October 25, 2022

Hello,

You will find the documentation here: https://docs.centreon.com/fr/docs/administration/postfix/

Regards


Forum|alt.badge.img+1
  • Author
  • Steward *
  • October 25, 2022

Merci, c’est cette documentation que j’ai utiliser mais quand j’envois mail test ça ne passe pas.


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • October 25, 2022

Can you confirm that emails do come out after this step

 

https://docs.centreon.com/docs/administration/postfix/#testing-and-troubleshooting-email-configuration

 

echo "Test" | mail -s "Test" user@isp.com

 


Forum|alt.badge.img+1
  • Author
  • Steward *
  • October 26, 2022

oui! pourtant mon postfix est bien active 

 


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • October 26, 2022

anything in the logs?

 

tail -f /var/log/maillog

 


Forum|alt.badge.img+1
  • Author
  • Steward *
  • October 26, 2022

 

voici l’erreur qu’on m’envoit


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • October 26, 2022

@dakombaye 

  • are you behind some firewall?
  • do you need a proxy?
  • do all hostnames resolve? (ping)
    • destinationdomain.com
    • smtpdomain.com
    • otherexample.com

Forum|alt.badge.img+1
  • Author
  • Steward *
  • October 27, 2022

oui le ping pour tous les hôtes passent très bien.


Forum|alt.badge.img+5
  • Steward **
  • November 4, 2022

Gmail has some restrictions on external app access since May of this year. Follow this article instead; it walks you through the setup on Gmail side, setups like creating an app password and so on.

https://www.sugarbug.fr/atelier/techniques/postfix-gmail/

Cheers!