Path: /etc/exim4/conf.d/router/250_local_vhosts_aliases Size: 804 bytes
Virtual hosting router for Exim 4. This defines loading an aliases file for every virtual hosts. The virtual host alias files should be stored in /etc/exim4/vhosts.
vhosts_aliases:
debug_print = "R: vhosts_aliases for $local_part@$domain"
driver = redirect
allow_defer
allow_fail
domains = dsearch;/etc/exim4/vhosts
data = ${expand:${lookup{$local_part}lsearch*@{/etc/exim4/vhosts/$domain}}}
retry_use_local_part
pipe_transport = address_pipe
file_transport = address_file
no_more
# not no_more - we try again without the suffix
#vhost_aliases_suffix:
# debug_print = "R: vhost_aliases_suffix for $local_part@$domain"
# driver = redirect
# local_part_suffix = -*
# local_part_suffix_optional
# allow_defer
# allow_fail
# domains = dsearch;/etc/exim4/virtual
# data = ${expand:${lookup{$local_part}lsearch*@{/etc/exim4/virtual/$domain}}}
# retry_use_local_part
# pipe_transport = address_pipe
# file_transport = address_file
# no_more
Copyright (C) 2010 A. Bram Neijt
This file is part of the logfish.net configuration collection.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This file is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You can find a copy of the GNU General Public License
online at <http://www.gnu.org/licenses/>.