I configured mailcow to use a relayhost (gmail).
I have 4 domains:
a.com.br
b.com.br
c.com.br
d.com.br
On all domains I activate Relay ALL option (didnt select Sender-dependent transports, only activate relay all)
domains b, c and d works fine, but the first domain that i created (a.com.br) only do the relay if i select Sender-dependent transports, and if i select Sender-dependent transports, when i send a email the relay user (user@gmail.com) that is used to authenticate is shown in FROM field and not user@a.com.br.
On b, c and d, i didnt select the Sender-dependent transports, the relay happens (appears on postfix logs) and the email appears correctly.
Is there any configuration that is needed to be done so that the authenticated user from gmail doenst show as FROM for the destination?