Hanspeter Kunz a écrit : > Hi all, > > I'm trying to figure out how I can deliver mail > > usern...@examplehost.example.com > > to a central mail server (smtp.example.com) without setting > > myorigin = $mydomain > > on the example host, because I would like to see where the mail > originiated or was originally sent to in the sender address. > > I tried to use recipient canonical maps > > @examplehost.example.com @example.com
don't do that. > > but then /etc/aliases is not used e.g. to forward email. > why use /etc/aliases to forward mail? use transport_maps: examplehost.example.com relay:[192.168.1.2] > I there a way, to rewrite recipient adresses *after* /etc/aliases has > been processed? >