Autor: Daniel M. Drucker Data: Para: cjackson CC: exim-users Assunto: [Exim] Re: How to try more than one router?
> condition = ${run {nmap -P0 -p25 -n --host_timeout 1000 -sT $IP}{yes}{no}} >
> Because the host_timeout is 1 second, nmap quits after 1 sec when no connection; > ping (and maybe nc) will hang when no connection and hang the server.
But that doesn't work at all -- it has an exit code of 0 whether it was able
to connect to the port or not!