On Wed, 23 Jul 1997, Georg v.Zezschwitz wrote:
> However, one invention of the wheel is enough, and I wonder if the
> job is done already by somebody.
The only thing I know of is the use of a simple rewriting rule to cope
with two-component bang paths. For example, the rule
^([^!]+)!(.+)@some\.dom\.ain$ $2@$1
rewrites addresses of the form A!B as B@A. You need to have your domain
in there as well, because Exim will first of all turn the unqualified
address A!B into A!B@qualify_domain before trying to rewrite it.
If you have a limited length of bang path you could extend the regular
expression to be a bit more clever, I suppose.
--
Philip Hazel University Computing Service,
ph10@??? New Museums Site, Cambridge CB2 3QG,
P.Hazel@??? England. Phone: +44 1223 334714