How to configure two "from" email with Postfix configured with Office365

0

I configured the Postfix to send email via Office365 following this tutorial It's working fine.

But I want to send email from two different email adresses. For example, ClientA will received an email from mail@domain1.com and ClientB from mail@domain2.com.

From the tutorial I configured the header_check file like this:

/FROM:.*/ REPLACE From: mail@domain1.fr

When I add a second line, or when I change the /FROM:.*/ with something else, I'm getting and error:

Failed to process message due to a permanent exception with message Cannot submit message.

Do you know if it's possible to do that ?

Thank you

Hector GĂ©rard

Posted 2019-09-20T13:53:26.133

Reputation: 1

No answers