Question

postfix

  • 25 October 2022
  • 9 replies
  • 167 views

Badge +1

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


9 replies

Userlevel 3
Badge +4

Hello,

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

Regards

Badge +1

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

Userlevel 4
Badge +13

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

 

Badge +1

oui! pourtant mon postfix est bien active 

 

Userlevel 4
Badge +13

anything in the logs?

 

tail -f /var/log/maillog

 

Badge +1

 

voici l’erreur qu’on m’envoit

Userlevel 4
Badge +13

@dakombaye 

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

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

Badge +5

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! 

Reply