[Exim] Virtual Domain Aliases Trick

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Perkel
Data:  
A: exim-users
Assumpte: [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