[prev in list] [next in list] [prev in thread] [next in thread]
List: exim-users
Subject: Re: Rewriting addresses - HELP
From: Adrian Bool <aid () u-net ! net>
Date: 1997-08-20 12:08:03
[Download RAW message or body]
On Wed 20 Aug, Nigel Cass wrote:
> ------- Forwarded Message Follows -------
> From: Self <PICO/NIGEL>
> To: Philip Hazel <ph10@cus.cam.ac.uk>
> 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"@ecu.humber.ac.uk
>
> which I need to rewrite to:
>
> backup@ecu.humber.ac.uk
>
> 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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic