On Thu, 27 Nov 1997, John Henders wrote:
> 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?
file = "/opt/exim/mailmaps/\
${if match{$domain}{^[^\\\\.]+\\\\.(.*)\\$}{$1}{$domain}}\
.map"
I think.
--
Philip Hazel University Computing Service,
ph10@??? New Museums Site, Cambridge CB2 3QG,
P.Hazel@??? England. Phone: +44 1223 334714
--
*** Exim information can be found at
http://www.exim.org/ ***