On Fri, Apr 24, 2015 at 11:49:26AM +0100, Robin Becker wrote:
>
> I am trying to use the scheme proposed here
>
> http://n3mesisfixx.blogspot.co.uk/2013/07/configuring-exim4-to-route-to-many.html
[... skip ...]
> # exim4 -bt userbbb@???
> R: system_aliases for useraaa@???
> R: userforward for useraaa@???
> R: procmail for useraaa@???
> R: maildrop for useraaa@???
> R: lowuid_aliases for useraaa@??? (UID 1000)
> R: local_user for useraaa@???
> useraaa@???
> <-- useraaa@???
> <-- userbbb@???
> <-- userbbb@???
> router = local_user, transport = mail_spool
>
> any ideas why this is failing? Do I need to get rid of my local aliases?
It works exactly as you set: any mail to <*@bbb.domain.com> is routed
to <useraaa@???>. Article mentions this behaviour as intended.
If you do not understand what happens, run Exim with "-d+route" debugging
option and trace all conversions of the recipient address, step by step.
As for local aliases, the output show that "system_aliases" router
does NOT change incoming address, probably because address is not catched
by router's conditions.
--
Eugene Berdnikov