X-Git-Url: https://git.exim.org/exim-website.git/blobdiff_plain/4bec300304fbfa4a6881b15145437ddaef530acd..ee0b1aaea92e799cc9a1063b46b6d20c54fcac4b:/config.samples/C015 diff --git a/config.samples/C015 b/config.samples/C015 index 80fbcc9..646ead6 100644 --- a/config.samples/C015 +++ b/config.samples/C015 @@ -1,5 +1,6 @@ From: Andromeda -Date: Sun, 15 Nov 1998 23:24:05 +0200 +Date: Sun, 15 Nov 1998 23:24:05 +0200 (original) +Date: Wed, 14 Jul 1999 21:42:18 +0200 (small change) This approach to virtual domains has helped me a great deal, and is so easy to maintain (add and modify as appropriate): @@ -39,7 +40,7 @@ virtual: driver = aliasfile no_more file = /usr/exim/aliases/$domain-aliases - search_type = lsearch + search_type = lsearch*@ Voila. Done. This requires the following files from you: @@ -65,4 +66,13 @@ etc. easier for administration. This way it works just fine, and mail to non-existent aliases gets bounced. -You can check whether selecting *: allows you to do a catch-all. + +The "search_type = lsearch*@" line in the "virtual" director allows you to +specify a default mailbox at the end of each domain file, as shown below +for domain1.com-aliases: + +bob: bob@ibm.net +adam: adam@otherdomain.com +*: mike + +All other email sent to the domain gets sent to the local user "mike".