Hey !I'm coming to you today because I'm stuck with the centreon/postfix settings.I would like to change the sender email cent-engine@servercentreon to cent-engine@domain.frdespite the change of the main.cf filewith in particular the addition of $myorigin it still remains in @servercentreonHas anyone had the problem before?Thanks !
Page 1 / 1
Greetings,
Maybe try this:
Add the following line in /etc/postfix/main.cf
sender_canonical_maps = hash:/etc/postfix/sender_canonical
Add this kind of file /etc/postfix/sender_canonical (create it if not existing)
Adapt it with any kind of adress that suits your need.
user@server.local notifier@my-domain.com
And run this afterward.
postmap /etc/postfix/sender_canonical
Don’t forget to restart postfix once you’re done with the above in order for your new configuraton to be in effect.
If you need more details you can have a look here:
https://www.postfix.org/ADDRESS_REWRITING_README.html
Best regards.
Thanks I’ts ok !!
Best regards
Reply
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.