Autor: edouard.boucher Data: Dla: exim-users Temat: [Exim] routing to primary MX only (again !)
Hi,
>So, i hope noone blames me now, i know it would be easier and maybe
>faster to use an external script, or embedded perl to have the same
>result, but i like to play with exim ;) It's just fantastic what can be
>done. Ok, this config looked a little bit like sendmail.cf, but who cares ;)
Your config is realy nice,
thank for your help.
I just realize that the RFC allow an host to have multiple primary MX,
in this case this config routes the mail only to the first one of the list.
I dont think that it is possible to keep an infinite backtrack with a regexp
(there is no limit on the number of primary MX).
so i suppose the only way to do that is to use a perl script