[Exim] Directing / routing / insane asylum.

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: j2
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Directing / routing / insane asylum.
Ok, i have a director.

mupp_net:
        condition =
${extract{1}{:}{${lookup{$local_part@$domain}lsearch{/etc/exim/routing/anima
l.mupp.net}{true}fail}}}
        driver = smartuser
        new_address =
${extract{1}{:}{${lookup{$local_part@i$domain}lsearch{/etc/exim/routing/anim
al.mupp.net}{$value}fail}}}
        transport =
${extract{2}{:}{${lookup{$local_part@i$domain}lsearch{/etc/exim/routing/anim
al.mupp.net}{$value}fail}}}


a cpl of transporta

animal_mupp_net:
        driver = smtp
        hosts = animal.mupp.net


waldorf_mupp_net
        driver = smtp
        hosts = waldorf.mupp.net


and a /etc/exim/routing/animal.mupp.net

that looks like

testuser@???:testuser@???:animal_mupp_net
i1266@???:spamfilter2@???:animal_mupp_net
ak@???:ak@???:waldorf_mupp_net


But

[root@statler root]# killall -HUP exim ;exim -bt
exim: no process killed
> testuser@???

testuser@??? is undeliverable:
unknown local-part "testuser" in domain "mupp.net"
>


I thought i had a solution to my problem abotu "rewriteing some to new
adresses" by reqriting all to new adresses, but supplying the original
address if a new one is not needed. But i seem to be missing something?