dotrc:exim:per-domain_lookup_of_aliases
Differences
This shows you the differences between two versions of the page.
| dotrc:exim:per-domain_lookup_of_aliases [2007/05/29 09:09] – external edit 127.0.0.1 | dotrc:exim:per-domain_lookup_of_aliases [2011/09/01 13:51] (current) – added a slightly different version of per domain aliases adi | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| There is now on standard alias file for each domain in '' | There is now on standard alias file for each domain in '' | ||
| + | With no_more disabled there is a fallback to / | ||
| + | |||
| + | ====== per-domain configuration with directories ====== | ||
| + | |||
| + | each virtual domain has a file named CONFDIR/ | ||
| + | |||
| + | '' | ||
| + | < | ||
| + | # 350_local-config-virtual-users | ||
| + | ################################# | ||
| + | |||
| + | # This router takes care of all domains configured in | ||
| + | # / | ||
| + | # it expects an aliases file in this directory and returns a list | ||
| + | # of local users. | ||
| + | |||
| + | virtual_users: | ||
| + | debug_print = "R: virtual_users for $local_part@$domain" | ||
| + | driver = redirect | ||
| + | allow_defer | ||
| + | allow_fail | ||
| + | # get the domains this router is responsible for | ||
| + | domains = dsearch; | ||
| + | # resolve aliases from this file | ||
| + | data = ${expand: | ||
| + | # do not try to "fully qualify" | ||
| + | qualify_preserve_domain | ||
| + | retry_use_local_part | ||
| + | # this router is authoritative for this domain - stop after here | ||
| + | no_more | ||
| + | </ | ||
| + | |||
dotrc/exim/per-domain_lookup_of_aliases.1180429744.txt.gz · Last modified: 2011/09/01 13:51 (external edit)
