Re: [exim] exim FAQ - question Q0427

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Ted Cooper
日付:  
To: exim-users
題目: Re: [exim] exim FAQ - question Q0427
Michal Soltys wrote:
> I need small clarification needing that one, namely:
>
> http://wiki.exim.org/FAQ/Routing_for_local_delivery/Q0427
>
> The first solution with single redirect router looks fine, but in case
> of the scenario with two routers:
>
> aliases1 has A->B alias, but no B->...
> aliases2 has some other ones, but neither A->... nor B->...
>
> Mail to A arrives. In such case, first router will yield B,A and second
> router will decline - the final effect will be A and B - and the
> expected result would be just B.
>
> Am I seeing it right, or am I missing some detail ?


Probably, yes. Throw it together in a testing config file and try it
out, and update the FAQ if necessary.

I don't know how well it would work, but if you're looking up multiple
values in many files you're probably better off sorting and
concatenating them and sticking them in a cdb file or SQL database and
only doing a single lookup. Some minor pre-processing then removes the
need for such magic foo and would probably speed up and simplify the
configuration.

--
The Exim Manual
http://www.exim.org/docs.html
http://docs.exim.org/current/