Re: [exim] per user accepting , but has wildcards etc

Top Page
Delete this message
Reply to this message
Author: Marc Sherman
Date:  
To: exim-users
Subject: Re: [exim] per user accepting , but has wildcards etc
Brent Clark wrote:
>
> This basically routes mail for
>
> *-bookings@???


I'm really getting sick of this silly obfuscation.
http://www.exim.org/eximwiki/MailingListEtiquette#head-a6f7fb5ce8816568569a321f783315207ec38063

> Ive been trying to figure out how I can have accept (or do I need
> multiples routers for this) for an email address like:
>
> 123456-username-bookings@??? to goto
> username


You need a seperate router with:

local_part_prefix = *-
local_part_suffix = -bookings

I think that router needs to go before the existing account_bookings:
router, so that account_bookings doesn't see "123456-username-" as a
match for its *- prefix. Assuming you want to keep 123456-bookings
going to the bookings user, that is.

You should update your debug_print statements in your routers, by the way.

- Marc