mailq::mailq(3)       User Contributed Perl Documentation      mailq::mailq(3)



NAME
       ZMailer::mailq - Perl extension for interaction with the scheduler

SYNOPSIS
         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");

ABSTRACT
         ZMailer scheduler's management protocol interface: 'mailq'.

DESCRIPTION
         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.

SEE ALSO
       ZMailer's  scheduler(8), and mailq(1)

AUTHOR
       Matti Aarnio, <mea@nic.funet.fi>

COPYRIGHT AND LICENSE
       Copyright 2003 by Matti Aarnio

       This is part of ZMailer MTA software suite



perl v5.8.8                       2003-05-24                   mailq::mailq(3)