Szerző: Jonathan Gilpin Dátum: Címzett: David Woodhouse CC: exim-users@exim.org Tárgy: 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.
I've fine with the SQL query... but I'm not sure how to rewrite the transport. What would the
query need to return for example if the address is to be kept the same?