|
NAMEpcheck - popcheck clientSYNOPSISpcheck [-s SERVER, --server=SERVER] [-p PORT, --port=PORT] [-t TIMEOUT, --timeout=TIMEOUT] [--help] [--version]DESCRIPTIONThis command is used for checking the proper function of the pcheckd. It will send a UDP request to the pcheckd running on the machine server (default: 127.0.0.1) on port port (default: 50110). It will wait for timeout seconds for an answer. The answer is printed on stdout.There are two types of requests: The mailbox request (-m) will ask the server about the state of the named mailbox and will output it ('0 no mail', '1 mail', '2 new mail', or '3 load too high'). The load request (-l) will ask the server for the load avarage for the last minute. The output of the command is the answer to the request returned by the server. It has the general format '+OK some message' if the request was successfull or '-ERR error message' if some error occured on the server side. OPTIONS
RETURN CODES
SEE ALSOpcheckd(8), pclean(8), pcontrol(1), pdeliver(1), pproxy(8), pserv(8), pstatus(1), ptestpdm(1), The POPular ManualAUTHORJochen Topf jochen@remote.orghttp://www.remote.org/jochen/mail/popular/ <URL:http://www.remote.org/jochen/mail/popular/> COPYRIGHTThe POPular suite is copyright (C) 1999-2002 by Jochen Topf jochen@remote.org.This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA Visit the GSP FreeBSD Man Page Interface. |