On Wed 20 Aug, Nigel Cass wrote:
> ------- Forwarded Message Follows -------
> From: Self <PICO/NIGEL>
> To: Philip Hazel <ph10@???>
> Subject: Rewriting addresses - HELP
> Date: Wed, 20 Aug 1997 11:51:13 GMT
>
> Hi Philip.
>
> We've gone completely live with exim now. However one large problem
> has occured and I'm not sure how to address rewrite it out.
>
> We're getting some VMS mail bouncing around like the following...
>
> "VAULT::backup"@???
>
> which I need to rewrite to:
>
> backup@???
>
> I'm not sure how to lose part of a local part - also exim is
> complaining about a malformed local part - due to either the quotes
> or the colons ??
>
> any ideas ??
Could try something along the lines of,
vms:
driver = smartuser;
new_address = "${if match {$localpart} {^\"VAULT::(.+)\") \
{$1@$domain} fail}"
But i've not got time to test it ;-) Dunno if i'm escaping the "s
right.. best check that. Also exim my through that address out as
illegal even beofre it hits the rules...
Happy playing,
aid
--
Adrian J Bool | mailto:aid@u-net.net
Network Operations | http://www.u-net.net/
U-NET Ltd | tel://+44.1925.484461/