Re: [Exim] Exim4, and -bt address testing

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nico Erfurth
Dátum:  
Címzett: Sander Smeenk
CC: exim-users
Tárgy: Re: [Exim] Exim4, and -bt address testing
Sander Smeenk wrote:

> Hi,
>
> I use Exim4 4.24 and amavisd for virusscanning, but with this setup,
> when I test addresses with 'exim4 -bt addr@???' I get:
>
> | addr@???
> | router = amavis, transport = amavis
> | host localhost [127.0.0.1]
>
> Now I know my mail would pass my amavis router, but i'd like to know
> what routers it would hit after that, and see what those routers do with
> the address like this:
>
> | addr@???
> |     <-- addr@???
> |   router = local_user, transport = maildir_delivery
> | new@???
> |     <-- addr@???
> |   router = dnslookup, transport = remote_smtp
> |   host mx-1.host.tld [w.x.y.z] MX=100
> |   host mx-0.host.tld [w.x.y.z.] MX=100

>
> Is there a way to tell exim to show the next step(s) without disabling
> the amavisd router?


as you most probably have no_verify set in your amavis-router (if not,
you should really do ...) you can try       exim -bv addr@???.


or use    exim -oMr 'scanned' -bt addr@???
and use the value from your $received_protocol check for 'scanned'.


Nico