Re: [Exim] virtual domain aliases

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Drav Sloan
Data:  
Para: Dean Grubb
CC: exim-users
Assunto: Re: [Exim] virtual domain aliases
Dean Grubb wrote:
> local_domains = localhost:dbm;/etc/exim.domains.db
>
> /etc/exim.domains.db looks like;
>
> domain1.com
> domain2.com
> domain3.com


That stays the same. In the following Exim_tables is defined as the path
to your exim configuration files.

Try this Director:

virtual_alias:
driver = aliasfile
domains = lsearch;Exim_tables/virtual_domains
file = Exim_tables/vdoms/${domain}.aliases
search_type = lsearch
qualify_preserve_domain

This then allows you to have a domain1.com.alias file a domain2.com.alias
file and so on. If they don't match in here then they continue to be treated
locally.

Regards,

D.

--
    David Sloan - Senior Mail and News Systems Admin - Platform Management
  Tel: +44 845 272 0666    Fax: +44 20 8371 1167    Email: dsloan@???