[Exim] Virtual Domain Aliases Trick

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Marc Perkel
Data:  
Para: exim-users
Asunto: [Exim] Virtual Domain Aliases Trick
Here's a trick to create aliases for domains so that all mail going to
one domain is rerouted to another.

######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################


# The /etc/vmail/domainaliases file contains a list of domain aliases
# Example:
#    coup2k.net: coup2k.com
#    coup2k.org: coup2k.com


*@* ${lookup{$2}lsearch{/etc/vmail/domainaliases}{$local_part@$value}
{$local_part@$domain}} E

end