This router is ran for all your local domains. If it creates a new address @+local_domains, there is no chance to get to the routers further down the chain: A new address means, the routing starts again at the very first router, and eventually it will reach your pgsql_aliases again, which doesn't create a new address (declines), but, as "no_more" is set, the address won't tried with the following routers.
You can either drop the "no_more" option, or, if the outcome of the pgsql_aliases can *always* be handled by the routers further down in the chain, you can use "redirect_router = userforward" in your pgsql_aliases routers. > pgsql_aliases: > debug_print = "R: pgsql alias $local_part @ $domain" > driver = redirect > domains = +local_domains > allow_fail > allow_defer > data = ${lookup pgsql{select a_target from current_alias_list \ > where a_localpart = '${quote_pgsql:$local_part}' \ > and domain='${quote_pgsql:$domain}'}} > file_transport = address_file > pipe_transport = address_pipe > no_more > > userforward: > debug_print = "R: User Forward" > driver = redirect > check_local_user … Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --------------- key ID: F69376CE -
signature.asc
Description: PGP signature
-- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/