Hi all,
I am currently running a mail system (Exim of course :-) and have
discovered a problem. Each user has an email address of the form
login@??? but staff also get a longform address of the form
A.N.Other@???.
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
where the longforms database has entries of the form:
login: R.E.A.L.Name
ano23: A.N.Other
etc.
However, the problem with this is that if you email ANO23@???
it doesn't get rewritten. This then causes things to break later on
as other machines do not understand the shortform version. How can I
modify the rewritting rule to lowercase the localpart before looking it
up in the database? It must not lowercase everything as email coming
in that is addressed to the longform version must stay as it is (ie.
A.N.Other can't be turned into a.n.other).
Ideas?
Cheers,
Darren
--
*** Exim information can be found at
http://www.exim.org/ ***