RE: [Exim] Problems with header re-writing

Pàgina inicial
Delete this message
Reply to this message
Autor: Paul Walsh
Data:  
A: Phil Pennock
CC: Exim Users
Assumpte: RE: [Exim] Problems with header re-writing

> > *@research.uce.ac.uk
> > ${lookup{${lc:$1}}dbm{/usr/exim/db/research.aliases}\
>                                     ^^^

> >
> {$value}fail}@??? bcrt
>
> So for address User.Name@??? you want it rewritten to:
> ID@???@research.exchange.uce.ac.uk


No, I want User.Name@??? to be re-written as
ID@???
but I can see what's happening. The research director is already aliasing
User.Name@??? to ID@??? so there's no
real need for the first rule.

> ?
>
> > *@research.exchange.uce.ac.uk
> > ${lookup{${lc:$1}}dbm{/usr/exim/db/rresearch.aliases}\
> >                        {$value}fail}@??? bcfrF

> >
> > where "rresearch.aliases" has the reverse mapping:
> > ID: User.Name
>
> Should this file also be being used in the first rewrite then?
>


No, because it contains the mapping from internal ID to externally visible
User.Name

> >
> > Any ideas folks? I can't see the wood for the trees here.
>
> Here, have an ax.


Just found a chainsaw...Thanks