Re: [EXIM] Wildcards for virtual director

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Nathan Schuler
日付:  
To: exim-users
題目: 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/ ***