I'm trying to add /etc/aliases processing for simple forwarding
for virtual users to Ubuntu's default configuration.

For example, for a host with 100s of domains, forward
some virtual user to gmail...

   [email protected]: [email protected]

Seems like this should be simple as matching an address then
rewriting all the headers + forwarding it on... something like this...
which is incorrect....

forward_virtual_user:
  driver = redirect
  data = ${lookup{$local_part@$domain}lsearch{/etc/aliases} {$value} fail} 
bctfrF

This seems to be working, except headers never get rewritten.

Any suggestions about the best way to forward pure virtual users
to an external email address?

Thanks.


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to