[plug] checking for existence of an application

Matt Kemner zombie at penguincare.com.au
Fri Aug 8 18:50:39 WST 2003

> okay, but that would put you in an interactive mode in which case you need to exit this session. I do not see how one would get the name of the mta to put into a variable.  This has to work from within a script without user intervention.

Try something like:

version=`echo QUIT|nc localhost 25|head -1`

(Assuming you have netcat installed)

 - Matt

More information about the plug mailing list