Caseless searching

Top Page
Delete this message
Reply to this message
Author: John Brooks
Date:  
To: exim-users
Subject: Caseless searching

Hi,

I'm just moving our production email on to exim and have come across
a problem with address rewriting - its case sensitive

# /local/bin/exim -brw ZA9RA07@???
  sender: ZA9RA07@???
    from: ZA9RA07@???
      to: ZA9RA07@???
      cc: ZA9RA07@???
     bcc: ZA9RA07@???
reply-to: ZA9RA07@???
env-from: ZA9RA07@???
  env-to: ZA9RA07@???

# /local/bin/exim -brw za9ra07@???
  sender: D.Last@???
    from: D.Last@???
      to: D.Last@???
      cc: D.Last@???
     bcc: D.Last@???
reply-to: D.Last@???
env-from: D.Last@???
  env-to: za9ra07@???

I've tried several versions of the the rewriting rule but none worked:

*@*.mmu.ac.uk   ${lookup${$0}dbm{/local/etc/exim/aliases}{$value}fail} Fh

is the working (case sensitive) version, and what I've tried for caseless
matching are:

*@*.mmu.ac.uk   ${lookup${lc:$0}dbm{/local/etc/exim/aliases}{$value}fail} Fh
*@*.mmu.ac.uk   ${lookup{$lc:$0}dbm{/local/etc/exim/aliases}{$value}fail} Fh
*@*.mmu.ac.uk   ${lookup{lc:$0}dbm{/local/etc/exim/aliases}{$value}fail} Fh

Anyone who can put me right will be much appreciated.

              Cheers, John

J.Brooks, Information Systems Unit, Manchester Metropolitan University,
Chester Street, Manchester M1 5GD, England
Tel: (+44) 161 247 6090   Fax: (+44) 161 247 6359  Mail: J.Brooks@???


--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/