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

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: cjackson
Data:  
Para: Daniel M. Drucker
CC: exim-users
Assunto: Re: [Exim] Re: Re: How to try more than one router?
Daniel M. Drucker wrote:

>>Use nmap. It has host_timeout option
>>
>>
>
>Could you be a little more specific in how you would use nmap in this
>situation?
>
>Daniel Drucker
>
>
>
>
>--
>
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>


Maybe it would do what you need....

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.

--

Craig Jackson
__________________________

localsurface.com
__________________________