RE: [EXIM] Virtual Domains

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: David Latter
CC: splash, exim-users
Tárgy: RE: [EXIM] Virtual Domains
On Fri, 12 Mar 1999, David Latter wrote:

> In your FAQ you do have some configuration examples and say "Each sample
> configuration is held in a separate file in the config.samples directory"


I do seem to have changed that to "separtely distributed" in my latest
FAQ text, but you are right - adding an explicit URL would be helpful
and I will do it.

> Also from your manual you state you could use the same file for domains and
> routes could I make a file like this and use it?
>
> # Local Domains and aliases
> # Domain
>    xyz.net
> # Aliases
>    bob@???    bob@???
>    dl@???        fred@???
> # Domain
>    abc.net
> #Aliases
>    bob@???        bob@???


This could be made to work. If the file got big, you should consider
converting it to a dbm or cdb file for better performance. There is no
reason why you couldn't have

local_domains = ...others... : lsearch;/that/file

and also use

file = /that/file
search_type = lsearch

in an aliasfile director, BUT you must also put

include_domain

in the aliasfile director, so that it looks up "bob@???" and not
just "bob".



-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***