Deeztek.com Support: > >> Most of the e-mail for that domain is of course relaying to the 1.1.1.1 > >> server. However, there are some e-mail addresses on that domain that I > >> want to make an exception for and I need to relay the e-mail to 2.2.2.2 > >> instead of 1.1.1.1. So, if we had a user called j...@mydomain.com that > >> instead of relaying to 1.1.1.1 like normal, how would I input that entry > >> in etc/postfix/virtual to instead relay to the 2.2.2.2 server? > > > > /etc/postfix/main.cf: > > virtual_alias_maps = hash:/etc/postfix/virtual > > > > /etc/postfix/virtual: > > j...@example.com joe@[2.2.2.2] > > > > Wietse > Not working. The relay server completely ignores the virtual entry and > instead uses the transport relaying to the 1.1.1.1 server which of
Then you made a mistake. Please double check what you do. $ postmap -q j...@example.com /etc/postfix/virtual Wietse