Report abuse

require 'mcollective'

include MCollective::RPC

exim = MCollective::RPC::Client.new("exim", "etc/client.cfg") 

printrpc exim.mailq