Re: [EXIM] Case insensitive DBM lookup in rewritting rules?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: D.M.Chapman
CC: exim-users
Sujet: Re: [EXIM] Case insensitive DBM lookup in rewritting rules?
On Mon, 27 Jul 1998, D.M.Chapman wrote:

> Both of these addresses for staff (shortform and the the longform)
> must work but the short form must be rewritten to the long form.
> This has been achieved by using the rewritting rule on our mail hub:
>
> *@ukc.ac.uk    ${lookup{$1}dbm{/usr/lib/exim/longforms}\
>        {$value}fail}@??? bcfrtFT

>
> However, the problem with this is that if you email ANO23@???
> it doesn't get rewritten.


  *@ukc.ac.uk   ${lookup{${lc:$1}}dbm{/usr/lib/exim/longforms}\
        {$value}fail}@??? bcfrtFT


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



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