Re: [exim] setting local_part_suffix globaly

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jason_Meers
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] setting local_part_suffix globaly

> If what you want to do is to strip suffixes from local parts for
> processing by subsequent routers, you can use a redirect router before
> those routers (but after the routers that handle remote addresses):
>
> strip_suffixes:
> driver = redirect
> local_part_suffix = +*
> data = ${quote_local_part:$local_part}@$domain
>
> If there is no suffix, the router is skipped; if there is a suffix, it
> is stripped. You can also use redirect_router to pass a redirected
> address directly to the following router.
>


Thanks, this looks to be just what I need.
I tried something similar to this earlier this morning but had no idea
what to use for the "data" section (as most of the addresses didn't
require the whole address re-writing, just the +* suffix removing on
each occurrence).

Thanks
Jason_Meers
--
http://www.exim-new-users.co.uk