Re: [EXIM] Wildcards for virtual director

Top Page
Delete this message
Reply to this message
Author: Nathan Schuler
Date:  
To: exim-users
Subject: 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/ ***