Re: [exim] Anyone using SRS ??

Top Page
Delete this message
Reply to this message
Author: Dan_Mitton
Date:  
To: Peter Bowyer
CC: Exim users mailing list
Subject: Re: [exim] Anyone using SRS ??
I don't have any other redirect routers to add the 'srs = forward' line
too. I tried $localpoart@$domain, but get:

R=forwarding_router defer (-1): failed to expand "$localpart@$domain":
unknown variable name "localpart"




Sent by:        peeebeee@???
To:     "Exim users mailing list" <exim-users@???>
cc:      (bcc: Dan Mitton/YD/RWDOE)
Subject:        Re: [exim] Anyone using SRS ??
LSN: Not Relevant
User Filed as: Not a Record


On 01/02/07, Dan_Mitton@??? <Dan_Mitton@???> wrote:
>
> The README.EXIM file says:
>
> forwarding_router:
> driver = redirect
> srs = forward
> data = ${lookup ...}
>
> what should the 'data = ' look like?


This router needs to be the one which performs the rewrite in your
aliasing/forwarding setup - so whatever technique you use now should
paste into this router. Or just take the 'srs = forward' line and
paste into your existing router.

If you've got more complex processing going on, you could perhaps have
this 'redirect' router not actually redirect at all by having 'data =
$localpart@$domain' and the SRS sender rewrite will just be a
side-effect.

(I didn't try that last suggestion yet....)

Peter


--
Peter Bowyer
Email: peter@???

--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/