Preforkin server for qpsmtpd
qpsmtpd-prefork [options]
qpsmtpd-prefork is the qpsmtpd frontend script which binds to the SMTP TCP socket, and asynchronously forks new children in advance of new connections.
--portport
Binds to a specific port, instead of the default 2525.
--useruser
On startup, switch to run as user instead of the starting user. Applies only when started as root (as is normal when listening on port 25).
--limit-connectionslimit
Accept at most limit simultaneous connections. Inbound connections beyondthis limit will be deferred or refused.
--max-from-iplimit
Accept at most limit simultaneous connections from any given IP address; does not override --limit-connections, if set.
--childrenlimit
Limit the total number of child processes to limit; once all children are handling requests, further connections are deferred.
--idle-childrencount
Keep count child processes available, subject to the upper bound given via --children. Specify 0 to disable preforking entirely.
--interfaceaddr
Bind to the local address addr, 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.
--renice-parentdelta
Adjust the priority of the parent process by delta, yielding more CPU time to other processes. The default is 5.
--detach
Detach from the controlling terminal at startup, to run as a standalone daemon. See also --pid-file.
--pid-filefilename
Upon startup, and after daemonizing if applicable, write the process ID to filename, for use by sysvinit control scripts or similar utilities.
--pretty-child
Update child process names within the process table.
--version
Print the qpsmtpd release version and exit.
--debug
Be somewhat more verbose about logging during startup (has no effect once fully started).
--help
Display commandline help and exit.
Copyright (c) 2006, SoftScan; based on qpsmtpd-forkserver by Ask Bjorn Hansen <[email protected]>
http://smtpd.develooper.com/