|--help||Get help on parameters.|
|Print version information.|
|-q QUOTA, --quota QUOTA|
|This is the quota for the total size of the mailbox in MBytes (1024*1024 bytes) or 0, if the total size of the mailbox should not be checked. Default is 0.|
|-Q NUM, --maxnum NUM|
|This is the quota for the number of mails in the mailbox or 0, if the check should not be performed. Default is 0.|
|-m DIR, --mailboxdir DIR|
|This is the directory where all mailbox directories are. Default is /pop.|
|-f FORMAT, --format FORMAT|
Format of the mail an STDIN. There are three mail formats
understood by pdeliver:
|LF||Each line in the mail ends in a line feed (LF) character. This is the common format for UNIX text files.|
|CRLF||Each line in the mail ends in a carriage return (CR), line feed (LF) combination.|
Each line in the mail ends in a carriage return (CR, line feed
(LF) combination. Lines beginning with a dot (.), have this
dot doubled. A line consisting of a single dot and a carriage
return (CR), line feed (LF) combination denotes the end of the
mail. pdeliver will stop reading at this
Irrespective of the format an EOF will always end the mail.
|-l FILE, --logfile FILE|
|Logfile used for all messages. Default is /var/log/popular/pdeliver. if you dont want any logging, you have to use -l /dev/null.|
|-i ID, --id ID|
|This ID is logged with every line in the log file to find corresponding entries. If you dont specify an ID "-" will be logged. You probabely want to put the internal ID of the MTA here to easily find corresponding entries in the MTA log file.|
The quota will be checked before delivering the mail. The size of the mail currently being delivered is not counted towards the mailbox size. If the mailbox size is smaller then the quota and the number of mails smaller then the maximal allowed number of mails, the mail is delivered, otherwise pdeliver exits with return code 1.
Because there is no locking done, two processes delivering into the same mailbox at the same time might lead to overfull mailboxes.
0 Mail was successfully delivered. 1 Quota for this mailbox exceeded. Mail is not delivered. 2 Error while delivering. Permission problems or something like that. 3 Command line error.
Jochen Topf email@example.com
The POPular suite is copyright (C) 1999-2002 by Jochen Topf firstname.lastname@example.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