[Exim] Re: How to try more than one router?

Top Page
Delete this message
Reply to this message
Author: Daniel M. Drucker
Date:  
To: cjackson
CC: exim-users
Subject: [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!

Daniel Drucker