Re: [Exim] Problems with header re-writing

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Phil Pennock
Datum:  
To: Paul Walsh
CC: Exim Users
Betreff: Re: [Exim] Problems with header re-writing
Typing away merrily, Paul Walsh produced the immortal words:
> where "research.aliases" contains records such as
>
> User.Name: ID@???
>
>
> I have the following header re-writing rules:
>
> *@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
?

> *@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?

> I get the following appear in main and panic logs:
>
> 2000-06-19 13:08:15 1340Lf-0004jL-00 Rewrite of User.Name@???
> yielded unparseable address: malformed address: @research.exchange.uce.ac.uk
> may not follow ID@??? in address
> ID@???@research.exchange.uce.ac.uk
>
> Any ideas folks? I can't see the wood for the trees here.


Here, have an ax.
--
HTML email - just say no --> Phil Pennock
"We've got a patent on the conquering of a country through the use of force.
We believe in world peace through extortionate license fees." -Bluemeat