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

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Sherman
Data:  
A: exim-users
Assumpte: Re: [exim] per user accepting , but has wildcards etc
Brent Clark wrote:
>
> Thanks for your reply, but I think I have not worded my email
> properly.


You worded it fine. Did you try the change I told you to try?

> But now I need a twist for routing / accepting emails.
>
> Currently I have it so that I can have a wildcard and the mail will
> still goto the user "bookings".
>
> But I now need it so that the email address will be as so:
> 123456-username-bookings@???


Do you need 123456-bookings@??? to continue to go to user bookings?
Or are you eliminating that address form, and will all bookings mail
now be addressed as 123456-username-bookings@????

Either way, you need a router just like your existing one, only instead of:
local_parts = bookings
local_part_prefix = *-

you need
local_part_prefix = *-
local_part_suffix = -bookings

That leaves the username in the middle, which will be delivered to using
your LOCAL_DELIVERY transport.

_If_ you need to retain delivery to the bookings account for the old
address form, you need to keep your old router as well, and put the new
one first so that the old router doesn't match the new address form. If
you don't need to retain delivery to the bookings account, you can
replace the old router with the new one.

> I have read the link you sent, and I will try and accomodate you and
> the rest of the list in future.


And yet, you continue to obfuscate your example needlessly with
@abc.abc. If you want further assistance, please stop doing that.

- Marc