Re: [EXIM] Rewrite rules with DBM files

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Robert Franklin
Cc: EXIM users
Asunto: Re: [EXIM] Rewrite rules with DBM files
On Thu, 7 Jan 1999, Robert Franklin wrote:

> If I did an 'exim -brw bob@???', it didn't match the entry
> 'bob@???' entry in the synonym file.


Hmm. If you include a rewrite rule of, say

x@???    ...something...


then Exim will match it for bob@???, but when it is expanding the
...something... it will set $domain to "MINCE.NET" rather than
"mince.net". This of course makes sense if your rewrite rule is really
something like

x@???    y@$domain


in that it preserves the actual caseful form of the domain that was
used. Early in Exim's life there was one user who complained about
changing what the user had typed into lower case - it was a domain name
that was two juxtaposed words, something like MyHost.xxx.yyy, which read
oddly all in lowercase, because the two words amalgamated. I rather
suspect this is a no-win situation.

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



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