Re: [exim] Address rewriting before subaddressing

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: Re: [exim] Address rewriting before subaddressing
On 09/06/2018 12:39 PM, Niels Kobschaetzki via Exim-users wrote:
> I have the following problem: I'd like to activate subaddressing but I
> have one user who has an alias with a "+" in the mail-address and I
> can't give the user the address that would make the address viable with
> subaddressing (the user has an alias like "a+b@???" and I cannot
> really give him a@???; their mail-address is a-b@???).
> Thus I'd like to rewrite the address of the user when it comes in, so
> that it lands in the correct mailbox. Thus:
> Mail comes in for a+b@???, it lands in a-b@???


I'd suggest using a specific router recognising that problem
local-part, earlier in the chain than...

> And for all the users I'd like to activate subaddressing as well.
> Is this possible? If so how?


local_part_suffix (or _prefix) option on a router:

http://exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_routers.html

--
Cheers,
Jeremy