On Tue, Sep 08, 2015 at 03:14:38PM -0400, Homer Wilson Smith wrote:

>      I am using smtp-source to query whether machines are properly up by
> relaying mail through them to a buddy server that beeps me if 3 relays
> in a row fail.

Probably not the best tool for the job.  You might try "swaks"
instead.

>      When a target machine fails, the machine running smtp-source hangs
> at the perl/shell call to smtp-source, causing all other machines to look
> like they are down too.

The compiled-in timeout is 300s.  You run the injectors in parallel,
rather than one after the other.

>     How do I put a time out on smtp-source so it only tries for a few
> seconds before giving up, hopefully with an appropriate failure code.

There is no command-line option to override the compiled-in timeout.

-- 
        Viktor.

Reply via email to