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?

  • rodrigo_car

    Login as admin to the GUI
    Go to System- Configuation - Routing.
    Add the sender dependent transport.
    Then configure this transport in each domain config.

A gmail account is not meant for working as relay. I never thought that this would work. You should use a “proper” mail relay service and not a gmail account.
And the proper way would be to do it via one sender dependent transport for all domains.
And not activating one of the relay buttons

    Have something to say?

    Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

    esackbauer thank u for the answer, where can i configure this option one Sender dependent transport for all domains?

      rodrigo_car

      Login as admin to the GUI
      Go to System- Configuation - Routing.
      Add the sender dependent transport.
      Then configure this transport in each domain config.

      No one is typing