Re: [exim] Question regarding unseen

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Stian Jordet
CC: exim-users
Subject: Re: [exim] Question regarding unseen
On Thu, 1 Sep 2005, Stian Jordet wrote:
>
> I would love to use alter my LDAP lookups, but this is the only way I
> can think of.


Hmm, yes I think you are right that fiddling with the LDAP end doesn't
help.

I'm not entirely sure what the problem is, given that you say your
configuration works. The duplicated addresses in the output from `exim
-bt` are probably an artefact of the way that "unseen" works. The docs
say:

    When this option is set true, routing does not cease if the router accepts
    the address. Instead, a copy of the incoming address is passed to the next
    router, overriding a false setting of "more".


    [...] In effect, the current address is made into a 'parent' that has
    two children - one that is delivered as specified by this router, and a
    clone that goes on to be routed further.


Another way to do what you want might be to use your mail host names as
mail domains for internal routing purposes. Then you have a redirect
router which produces addresses like username@mailHost, plus a manualroute
router for other mailhosts and an accept router for local users.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}