boast
13th December 2008, 00:16
I have successfully setup my server to relay outgoing mail through gmail. The problem is I only need this for two accounts. So i setup sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
and in it i have
user1@domain.com [smtp.gmail.com:587]
user2@domain.com [smtp.gmail.com:587]
*@domain.com [domain.com]
this last part is what im having trouble with. I tried my domain and localhost, but it still uses the relay. how do I only get user1 and user2 to use the relay?
and in it i have
user1@domain.com [smtp.gmail.com:587]
user2@domain.com [smtp.gmail.com:587]
*@domain.com [domain.com]
this last part is what im having trouble with. I tried my domain and localhost, but it still uses the relay. how do I only get user1 and user2 to use the relay?