| 1 |
.TH qpsmtpd-prefork 8 |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
qpsmtpd\-prefork \- Preforkin server for qpsmtpd |
| 5 |
|
| 6 |
.SH SYNOPSIS |
| 7 |
.na |
| 8 |
.B qpsmtpd\-prefork |
| 9 |
.RI [ options ] |
| 10 |
.ad |
| 11 |
|
| 12 |
.SH DESCRIPTION |
| 13 |
.LP |
| 14 |
\fBqpsmtpd\-prefork\fR is the qpsmtpd frontend script which binds to the SMTP TCP socket, and asynchronously forks new children in advance of new connections. |
| 15 |
|
| 16 |
.SH OPTIONS |
| 17 |
.TP |
| 18 |
.BR \-\-port\ \fIport\fR |
| 19 |
Binds to a specific \fIport\fR, instead of the default 2525. |
| 20 |
|
| 21 |
.TP |
| 22 |
.BR \-\-user\ \fIuser\fR |
| 23 |
On startup, switch to run as \fIuser\fR instead of the starting user. Applies only when started as root (as is normal when listening on port 25). |
| 24 |
|
| 25 |
.TP |
| 26 |
.BR \-\-limit\-connections\ \fIlimit\fR |
| 27 |
Accept at most \fIlimit\fR simultaneous connections. Inbound connections beyondthis limit will be deferred or refused. |
| 28 |
|
| 29 |
.TP |
| 30 |
.BR \-\-max\-from\-ip\ \fIlimit\fR |
| 31 |
Accept at most \fIlimit\fR simultaneous connections from any given IP address; does not override \fB\-\-limit\-connections\fR, if set. |
| 32 |
|
| 33 |
.TP |
| 34 |
.BR \-\-children\ \fIlimit\fR |
| 35 |
Limit the total number of child processes to \fIlimit\fR; once all children |
| 36 |
are handling requests, further connections are deferred. |
| 37 |
|
| 38 |
.TP |
| 39 |
.BR \-\-idle\-children\ \fIcount\fR |
| 40 |
|
| 41 |
Keep \fIcount\fR child processes available, subject to the upper bound given |
| 42 |
via \-\-children. Specify 0 to disable preforking entirely. |
| 43 |
|
| 44 |
.TP |
| 45 |
.BR \-\-interface\ \fIaddr\fR |
| 46 |
Bind to the local address \fIaddr\fR, instead of the default behavior of binding to all interfaces. Can be specified multiple times to bind to more than one interface or local address. |
| 47 |
|
| 48 |
.TP |
| 49 |
.BR \-\-renice\-parent\ \fIdelta\fR |
| 50 |
|
| 51 |
Adjust the priority of the parent process by \fIdelta\fR, yielding more CPU time |
| 52 |
to other processes. The default is 5. |
| 53 |
|
| 54 |
.TP |
| 55 |
.BR \-\-detach |
| 56 |
Detach from the controlling terminal at startup, to run as a standalone daemon. See also \fB--pid-file\fR. |
| 57 |
|
| 58 |
.TP |
| 59 |
.BR \-\-pid-file\ \fIfilename\fR |
| 60 |
Upon startup, and after daemonizing if applicable, write the process ID to \fIfilename\fR, for use by sysvinit control scripts or similar utilities. |
| 61 |
|
| 62 |
.TP |
| 63 |
.BR \-\-pretty\-child |
| 64 |
|
| 65 |
Update child process names within the process table. |
| 66 |
|
| 67 |
.TP |
| 68 |
.BR \-\-version |
| 69 |
Print the qpsmtpd release version and exit. |
| 70 |
|
| 71 |
.TP |
| 72 |
.BR \-\-debug |
| 73 |
Be somewhat more verbose about logging during startup (has no effect once |
| 74 |
fully started). |
| 75 |
|
| 76 |
.TP |
| 77 |
.BR \-\-help |
| 78 |
Display commandline help and exit. |
| 79 |
|
| 80 |
.SH AUTHOR |
| 81 |
.LP |
| 82 |
Copyright (c) 2006, SoftScan; based on qpsmtpd-forkserver by Ask Bjorn |
| 83 |
Hansen <[email protected]> |
| 84 |
|
| 85 |
.BR |
| 86 |
http://smtpd.develooper.com/ |
| 87 |
|
| 88 |
|