Re: [EXIM] Wildcards for virtual director

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Nathan Schuler
Fecha:  
A: exim-users
Asunto: Re: [EXIM] Wildcards for virtual director
>virtual:
> domains = dbm*;/opt/exim/etc/mailmaps,
> driver = aliasfile,
> no_more;
> modemask = 002
> file = /opt/exim/mailmaps/$domain.map,
> search_type = lsearch*,
> include_domain,
> user = exim
>
>Is there any way to strip the subdomain out of $domain before doing the
>file lookup?


Try a partial search of the alias files like so:

virtual:
domains = dbm;/opt/exim/etc/mailmaps,
driver = aliasfile,
no_more;
include_domain;
modemask = 002
file = /opt/exim/mailmaps/$domain.map,
search_type = partail-lsearch,
user = exim


Nathan Schuler <nschuler@???>
UNIX Networking Solutions / Systems Administrator
Sana Systems Inc.


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