ZMailer::mailq - Perl extension for interaction with the scheduler use ZMailer::mailq; # Connect to server $zmq = ZMailer::mailq::new('hostname','174'); # Debug flag value ( $rc, $text ) = $zmq->setdebug(1); # Login to the scheduler server ( $rc, $text ) = $zmq->login('nobody','nobody'); # Bye bye to the server ( $rc, $text ) = $zmq->bye(); # Examples of SHOW commands: (see ZMailer's scheduler(8) # man-page about "MAILQv2 PROTOCOL") ( $rc,@lines ) = $zmq->showcmd("SHOW SNMP"); ( $rc,@lines ) = $zmq->showcmd("SHOW COUNTERS"); ( $rc,@lines ) = $zmq->showcmd("SHOW QUEUE SHORT"); ( $rc,@lines ) = $zmq->showcmd("SHOW QUEUE THREADS"); ( $rc,@lines ) = $zmq->showcmd("SHOW THREAD $channel $host"); ZMailer scheduler's management protocol interface: 'mailq'. This is part of ZMailer MTA software suite These routines can be used to build tools to monitor, and manage scheduler queue in ZMailer. The '$rc' value is '+' or '-' (ok/fail), and $text or @lines is the real response.

EXPORT
None by default. ZMailer's scheduler(8), and mailq(1) Matti Aarnio, <mea@nic.funet.fi> Copyright 2003 by Matti Aarnio This is part of ZMailer MTA software suite