On 1/24/2013 6:42 AM, tmac wrote: > I have a local host configured to relay through a mailhost. > There is a local user (call it test) that I want all the email sent to me > (tmac) > > in other words, any email sent to > t...@domain.com (or test@host.local) should go to t...@domain.com > > I have tried relocated users, but it does not seem to be working. > Is there a better (working) solution with postfix without having to > deal with .forward files? >
Use virtual_alias_maps to redirect mail. # virtual_alias test@local.example t...@example.com Run "postmap virtual_alias" after editing that file. # main.cf virtual_alias_maps = hash:/etc/postfix/virtual_alias Run "postfix reload" after editing main.cf http://www.postfix.org/ADDRESS_REWRITING_README.html#virtual http://www.postfix.org/postconf.5.html#virtual_alias_maps -- Noel Jones