Re: [exim] Exim Consolidating users

Góra strony
Delete this message
Reply to this message
Autor: David Woodhouse
Data:  
Dla: Jonathan Gilpin
CC: exim-users@exim.org
Temat: Re: [exim] Exim Consolidating users
On Thu, 2010-02-25 at 10:30 +0000, Jonathan Gilpin wrote:
> > Perhaps instead of redirecting to 'postmaster' you could redirect to an
> > address such as 'catchall-$original_local_part', and then ensure that
> > such recipients are all delivered into the same mailbox by the routers?
>
> any idea how to write this in exim language? Basically the theory sounds good!


Mostly it'd be in MySQL, surely?

Change your MYSQL_Q_ALIASES query not to change the localpart to
postmaster@ for unknown localparts, and then change the MYSQL_Q_BOXNAME
query so that it _does_ do that transformation.

Then the built-in duplicate elimination shouldn't trigger (because the
addresses are still different), but the router should actually end up
dumping all copies of the message into the same mailbox.

--
dwmw2