-
-
Notifications
You must be signed in to change notification settings - Fork 3
qmail qmqpc.8
qmail-qmqpc - queue a mail message via QMQP
qmail-qmqpc [ server [...] ]
qmail-qmqpc offers the same interface as qmail-queue, but it gives the message to a QMQP server instead of storing it locally.
In a mini-qmail installation, qmail-queue is replaced with a symbolic link to qmail-qmqpc.
If one or more server IP addresses are specified on the command line, qmail-qmqpc will ignore the control files and instead use the QMQP servers specified on the command line.
The default QMQP port 628 used by qmail-qmqpc can be overridden by setting PORT_QMQP environment variable.
qmqpservers
IP addresses of QMQP servers, one address per line. qmail-qmqpc will
try each address in turn until it establishes a QMQP connection or runs
out of addresses. If control file qmqpservers has the sticky bit set,
qmail-qmqpc will use the modulus of current time in seconds and the
number of servers in qmqpservers file to select just one address. If
this address fails, qmail-qmqpc will revert to the traditional
method where it tries each address till it establishes a QMQP
connection. This allows one to distribute the load across multiple QMQP
servers.
timeoutconnect
Number of seconds qmail-qmqpc will wait for the remote QMQP server
to accept a connection. Default: 10. The kernel normally imposes a
75-second upper limit.
timeoutremote
Number of seconds qmail-qmqpc will wait for each response (read or
write) from the remote QMQP server. Default: 60.
outgoingip
IP address to be used on outgoing connections. Default: system-defined.
The value 0.0.0.0 is equivalent to the system default. The IP address
can also be configured by setting the environment variable
OUTGOINGIP. OUTGOINGIP overrides the control file outgoingip.
You can have multiple IP addresses one per line, one per line for each
IP. qmail-qmqpc will use the modulus operator with the current time
to pick a single IP address.